as.info: Z8000 Directives

Go forward to Z8000 Opcodes
Go backward to Z8000 Syntax
Go up to Z8000-Dependent
Go to the top op as

Assembler Directives for the Z8000

   The Z8000 port of as includes these additional assembler directives,
for compatibility with other Z8000 assemblers.  As shown, these do not
begin with `.' (unlike the ordinary as directives).
`segm'
     Generates code for the segmented Z8001.
`unsegm'
     Generates code for the unsegmented Z8002.
`name'
     Synonym for `.file'
`global'
     Synonym for `.global'
`wval'
     Synonym for `.word'
`lval'
     Synonym for `.long'
`bval'
     Synonym for `.byte'
`sval'
     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 example, the C statement
     `char *a = "he said \"it's 50% off\"";' is represented in Z8000
     assembly language (shown with the assembler output in hex at the
     left) as
          68652073    sval    'he said %22it%27s 50%25 off%22%00'
          61696420
          22697427
          73203530
          25206F66
          662200
`rsect'
     synonym for `.section'
`block'
     synonym for `.space'
`even'
     special case of `.align'; aligns output to even byte boundary.