I have recently been learning to use vasm
. For those that don't know, vasm is a cross-platform assembler for multiple types of processors such as the M68000.
http://sun.hasenbraten.de/vasm/
I am using it to write some Amiga specific (A1200) code in assembler.
For about 15 minutes, I could not figure out why I couldn't assemble a simple program until I discovered it was the white space between operands.
For example, the following does not work:
moveq #0, D0
But this does work:
moveq #0,D0
I have a habit of putting spaces after commas when I code and vasm does not like that. I have searched online and cannot find a reference to that issue.
The following is how I assemble the program if it helps:
vasm -m68020 -kick1hunks -Fhunkexe -o test.exe main.asm
Any idea how to tell vasm to not be so picky?