Using it

8048

MCS-48 with on-chip ROM.

--dialect also accepts i8048, mcs48, mcs-48, 8049, 8050, 80c48, 80c49.

Directives

22 directives, 35 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 db, dc, byte
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 Accepted and discarded — it changes no bytes
incbin binclude
include include
listing-radix outradix Accepted and discarded — it changes no bytes
org org
phase phase, dephase
printer-init prtinit Accepted and discarded — it changes no bytes
radix radix
relaxed-literals relaxed Recognised, and not implemented
reserve ds, rmb
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 dw, word

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