f78
Z8000 Dependent Features
When the assembler is in unsegmented mode (specified with the
See the following documentation for the Z8000 architecture's features and
options for the assembler.
You can use
You can also refer to the contents of the first eight (of the sixteen 16 bit
registers) by bytes. They are named
Byte registers
rsect
block
even
r4h r4l r5h r5l r6h r6l r7h r7l
Register direct
Indirect register
Direct
The 16 bit or 24 bit address (depending on whether the assembler is in
segmented or unsegmented mode) of the operand is in the instruction.
Indexed
The 16 or 24 bit address is added to the 16 bit register to produce the final
address in memory of the operand.
Base Address
The 16 or 24 bit register is added to the 16 bit sign extended immediate
displacement to produce the final address in memory of the operand.
Base Index
The 16 or 24 bit register rn is added to the sign extended 16 bit index register rm to produce the final address in memory of the operand.
Immediate data
(xx).
Assembler Directives for Z8000
Generates code for the segmented Z8001.
Generates code for the unsegmented Z8002.
Synonym for .file.
Synonym for .global.
Synonym for .word.
Synonym for .long.
Synonym for .byte.
Assemble a string. sval expects one string literal, delimited by single quotes. It assembles each
byte of the string into consecutive addresses. You can use the escape sequence %xx (where xx represents a two-digit hexadecimal number) to represent the character whose
ASCII value is xx. Use this feature to describe single quote and other characters that may not
appear in string literals as themselves. For instance, the C statement, char *a = "he said \"its 50% off\""; is represented in Z8000 assembly language like the following example
shows(with the assembler output in hex at the left).
61696420
22697427
73203530
25206F66
662200