Z80 Directives - Using as
Next: Z80 Opcodes,
Previous: Z80 Floating Point,
Up: Z80-Dependent
9.32.4 Z80 Assembler Directives
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...]For each string the characters are copied to the object file, for
each other expression the value is stored in one byte.
A warning is issued in case of an overflow.
dw expression[,expression...]defw expression[,expression...]For each expression the value is stored in two bytes, ignoring
overflow.
d24 expression[,expression...]def24 expression[,expression...]For each expression the value is stored in three bytes, ignoring
overflow.
d32 expression[,expression...]def32 expression[,expression...]For each expression the value is stored in four bytes, ignoring
overflow.
ds count[, value]defs count[, value]
Fill count bytes in the object file with value, if
value is omitted it defaults to zero.
symbol equ expressionsymbol defl expressionThese directives set the value of symbol to expression. If
equ is used, it is an error if symbol is already defined.
Symbols defined with equ are not protected from redefinition.
setThis is a normal instruction on Z80, and not an assembler directive.
psect nameA synonym for See Section, no second argument should be given.
Wyszukiwarka
Podobne podstrony:
MSP430 DirectivesdirectorActive Directory omówienie domyślnych jednostek organizacyjnychbarcelona 6 directory v1 m56577569830521452directorypathsdirectZ80LEIBNIZ DIRECTIONES wersja robocza XII 2012Domena i Active DirectoryDirect3D Wstepdirecto3Microsoft DirectX 10 Technical BriefActive DirectorydirectionsSHSpec 189 6209C18 Directing PC s AttentionDirect3D TeksturyZ80 przykladyDirect3D Swiatlawięcej podobnych podstron