Run asm as follows:
asm in.s -i W8 -o out.txt
Option -i is used to specify the instruction set, and option -o is the output file.
Option -h may be used to display a help message.
See the wiki for more information such as syntax and adding an instruction set.