as: Z8000 Directives
1
1 9.57.3 Assembler Directives for the Z8000
1 -----------------------------------------
1
1 The Z8000 port of as includes additional assembler directives, for
1 compatibility with other Z8000 assemblers. These do not begin with '.'
1 (unlike the ordinary as directives).
1
1 'segm'
1 '.z8001'
1 Generate code for the segmented Z8001.
1
1 'unsegm'
1 '.z8002'
1 Generate code for the unsegmented Z8002.
1
1 'name'
1 Synonym for '.file'
1
1 'global'
1 Synonym for '.global'
1
1 'wval'
1 Synonym for '.word'
1
1 'lval'
1 Synonym for '.long'
1
1 'bval'
1 Synonym for '.byte'
1
1 'sval'
1 Assemble a string. 'sval' expects one string literal, delimited by
1 single quotes. It assembles each byte of the string into
1 consecutive addresses. You can use the escape sequence '%XX'
1 (where XX represents a two-digit hexadecimal number) to represent
1 the character whose ASCII value is XX. Use this feature to
1 describe single quote and other characters that may not appear in
1 string literals as themselves. For example, the C statement
1 'char *a = "he said \"it's 50% off\"";' is represented in Z8000
1 assembly language (shown with the assembler output in hex at the
1 left) as
1
1 68652073 sval 'he said %22it%27s 50%25 off%22%00'
1 61696420
1 22697427
1 73203530
1 25206F66
1 662200
1
1 'rsect'
1 synonym for '.section'
1
1 'block'
1 synonym for '.space'
1
1 'even'
1 special case of '.align'; aligns output to even byte boundary.
1