Directives
dc
b, w, lDefines constants, following the directive there can be a list of constants separated by commas, the size of each constant depends on the selected size. If no size is selected, the size is determined by the value of the constant. If the constant is a string, it will be stored as a sequence of bytes, if it is a number, it will be stored as a sequence of words
dc.b 'Hello world!', 4, %10, $F, @8, 'a', some_labelds
b, w, lDefines a space in memory of N elements, the size of each element depends on the specified size, the content of the space is undefined
ds.l 100dcb
b, w, lDefines a space in memory of N elements, the size of each element depends on the specified size, the content of the space is initialized to the second operand
dcb.b 50, 1org
Sets the current position in memory for the following instructions
org $1000equ
Defines a constant expression. The symbol cannot be redefined later.
name equ 10set
Defines an expression value that may be redefined later in the assembled order.
count set count+1end
Stops assembly and optionally selects the program entry point. Code after it is ignored.
end STARTreg
Names a register list for use by movem.
saved reg d0-d3/a0-a2fail
Raises an assembly error with the rest of the line as its message.
fail Expected an argumentsimhalt
Emits a four-byte simulator pause. Run resumes at the following instruction.
simhaltsection
Selects one of sixteen independent location counters, numbered 0 through 15.
section 1offset
Enters an offset-only region at the given value. Labels receive offsets and no bytes are emitted until org.
offset 0include
Assembles another text File at this point. The path is relative to the including File, then the Project root.
include 'lib/io.x68'incbin
Copies the exact bytes of another File into memory at this point.
incbin 'images/sprite.bin'opt
Accepts an assembler option for compatibility and ignores it.
opt xreflist
Accepted for compatibility and ignored.
listnolist
Accepted for compatibility and ignored.
nolistpage
Accepted for compatibility and ignored.
page