Directives

dc
(b, w, l)

Defines 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_label
ds
(b, w, l)

Defines 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 100
dcb
(b, w, l)

Defines 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, 1
org

Sets the current position in memory for the following instructions

org $1000
equ

Defines a constant that will be replaced by the value when the program is assembled

name equ 10