The Assembler for the 8bit CPUs
$ npm install asm80 -g
$ asm80 [options] filename
Assembles given the file, e.g. test.z80, into two files: test.hex (binary) and test.lst (listing).
Filename has to be the last parameter.
Options are:
-o, --output <file>
Output file name
-t, --type <type>
Output type [default: hex]. Available types are: hex, srec, com (for CP/M), sna, tap (for ZX Spectrum), prg (for C64), bin (use directives .binfrom and .binto to specify memory range to export)
-n, --nolist
Suppress listing (.lst file)
-m, --machine <type>
Processor type, one of the following: Z80, I8080, C6502, C65816, CDP1802, M6800, M6809
-h, --help
See HELP
Machine type can be omitted. Right CPU is determined by file name extension (-m option overrides this decision).
Intel 8080: .A80
Zilog Z80: .Z80
Motorola 6800: .A68
Motorola 6809: .A09
MOS 6502: .A65
WDC 65816: .816
CDP 1802: .A18
See ASM80 GitBook for further information.
See https://www.uelectronics.info/category/my-projects/ for more info
or http://www.asm80.com for online IDE, based on this assembler