Using it
z8000
Zilog Z8000, non-segmented.
--dialect also accepts z8002.
Directives
21 directives, 37 spellings. This is the list the parser looks a word up in, so a spelling here is one the assembler accepts and a spelling missing from it is one it refuses.
| Directive | Spellings | Notes |
|---|---|---|
align-modulo |
align |
|
assume |
assume |
Recognised, and not implemented |
bytes |
byte, db, dc.b |
|
charset |
charset |
|
diagnostic |
message, warning |
Accepted and discarded — it changes no bytes |
enum |
enum |
|
expect |
expect, endexpect |
Recognised, and not implemented |
function |
function |
Recognised, and not implemented |
ignored |
cpu, end, title, page, aseg, listing, supmode |
Accepted and discarded — it changes no bytes |
incbin |
binclude |
|
include |
include |
|
listing-radix |
outradix |
Accepted and discarded — it changes no bytes |
org |
org, aorg, rorg |
|
phase |
phase, dephase |
|
printer-init |
prtinit |
Accepted and discarded — it changes no bytes |
radix |
radix |
|
relaxed-literals |
relaxed |
Recognised, and not implemented |
save-state |
save, restore |
Recognised, and not implemented |
segment |
segment |
Recognised, and not implemented |
shared-symbols |
shared |
Accepted and discarded — it changes no bytes |
words |
word, dw, dc.w |
Instruction mnemonics are not listed here — they come from the instruction-set spec and have their own reference.
Projects in more than one file
A relative request is looked for in the including file’s own directory, then in the -I search directories in the order they were given.
A request with no extension tries <name>.inc before the exact spelling.
The anchor is pinned against this dialect’s own reference assembler, and the dialects genuinely disagree — Projects in more than one file has the comparison.
Elsewhere
- Dialects — every dialect and what each is the syntax of
- Where we differ — every known difference from a reference assembler
- Moving a project across — adopting this on a project that already builds