Node:Z8000-Addressing, Previous:Z8000-Regs, Up:Z8000 Syntax

##### Addressing Modes

as understands the following addressing modes for the Z8000:

`r` n``
  Register direct
`@r` n``
  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(r` n`)`
  Indexed: the 16 or 24 bit address is added to the 16 bit register to produce the final address in memory of the operand.
`r` n`(#`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.
`r` n`(r` m`)`
  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.