as.info: Z8000-Addressing

Go backward to Z8000-Regs
Go up to Z8000 Syntax
Go to the top op as

Addressing Modes

   as understands the following addressing modes for the Z8000:
`rN'
     Register direct
`@rN'
     Indirect register
`ADDR'
     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.
`address(rN)'
     Indexed: the 16 or 24 bit address is added to the 16 bit register
     to produce the final address in memory of the operand.
`rN(#IMM)'
     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.
`rN(rM)'
     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.
`#XX'
     Immediate data XX.