as for the Z80 supports some additional directives for compatibility with other assemblers.
These are the additional directives in as
for the Z80:
db
expression
|
string
[,
expression
|
string
...]
defb
expression
|
string
[,
expression
|
string
...]
dw
expression
[,
expression
...]
defw
expression
[,
expression
...]
d24
expression
[,
expression
...]
def24
expression
[,
expression
...]
d32
expression
[,
expression
...]
def32
expression
[,
expression
...]
ds
count
[,
value
]
defs
count
[,
value
]
equ
expression
defl
expression
equ
is used, it is an error if symbol is already defined.
Symbols defined with equ
are not protected from redefinition.
set
psect
name
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.