DASM

From veswiki
Revision as of 13:29, 22 November 2012 by E5frog (talk | contribs) (Created page with "DASM is a versatile macro assembler with support for several 8-bit microprocessors including Fairchild F8, MOS 6502 & 6507, Motorola 6803, 68705 & 68HC11 and Hitachi HD6303. <...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

DASM is a versatile macro assembler with support for several 8-bit microprocessors including Fairchild F8, MOS 6502 & 6507, Motorola 6803, 68705 & 68HC11 and Hitachi HD6303.
Check here for latest official version

As DASM is an assembler for many processors you need to add the line "{tab}processor f8" as the first line to use it with the F8 System (don't write {tab} but insert a tab sign there, space/s will work as well). DASM is run from a command line unless you make a .bat file to simplify assembly and reassembly during a programming project (recommended). Easiest assembly of a F8-program called game.asm would be this:

dasm game.asm -f3 -output.bin

-f3 means it outputs raw data. If you have problems with assembly errors then the option -L can be useful in order to find the reason.

dasm game.asm -f3 -output.bin -Lname-of-list.txt

You can then check the name-of-list.txt for the exact problem.