MACRO-80 Assembler
- Manual: M80 Assembler.pdf
- Linker: Microsoft L80 Linker.pdf
Compiling
Using prompt
Run with M80; prompts for file names in format:
[[out-dev:]out-file[.ext]][,[lit-dev:]list-file[.ext]]=[in-dev:]in-file[.ext][/options]
Try =example to compile example.mac file. Use CTRL+C to exit to CP/M.
Using arguments
For example compile Z80 assembly hello.mac:
D:m80 =hello.mac/Z
Compile printing listing:
D:M80 ,TTY:=hello/Z
Compile and save listing to .PRN file:
D:M80 =hello/L
Errors
A |
Argument error |
C |
Undefined symbol |
N |
Number error |
U |
Undefined; Note: B0h gives U, try 0B0h instead |
Linker
Link and create .COM file:
D:L80 HELLO,HELLO/N/E