Using it

6800

Motorola 6800, Motorola syntax.

--dialect also accepts m6800.

Directives

22 directives, 34 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 fcb, db
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 rmb, ds
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 fdb, dw

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