Using it

acme

C64 6502, ACME syntax.

--dialect also accepts 6502, mos6502.

Directives

34 directives, 58 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
addr !addr, !address
align !align
bytes !byte, !by, !8
conditional !if, !ifdef, !ifndef
convtab !ct, !convtab
cpu !cpu
diagnose !error, !serious, !warn
eof !eof, !endoffile
fill !fill, !fi
hex !hex
incbin !bin, !binary
include !src, !source
initmem !initmem
loop !while, !do
macro !macro
obsolete-cbm !cbm Refused, as the reference refuses it — retired in ACME 0.97, which answers "!cbm" is obsolete; use "!ct pet" instead
obsolete-realpc !realpc Refused, as the reference refuses it — retired in ACME 0.97, which answers "!pseudopc/!realpc" is obsolete; use "!pseudopc {}" instead
obsolete-subzone !subzone, !sz Refused, as the reference refuses it — retired in ACME 0.97, which answers "!subzone {}" is obsolete; use "!zone {}" instead
output-file !to
pet !pet
pseudopc !pseudopc
raw !raw
register-width !as, !rs
repeat !for
scr !scr
scrxor !scrxor
set !set
sized !be16, !be24, !be32, !le16, !le24, !le32
skip !skip
symbol-list !symbollist
text !text, !tx
words !word, !wo, !16
xor !xor
zone !zone, !zn

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.

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