Previous: Z8000-Regs, Up: Z8000 Syntax [Contents][Index]

#### 9.57.2.3 Addressing Modes

as understands the following addressing modes for the Z8000:

`rln`
`rhn`
`rn`
`rrn`
`rqn`

  Register direct: 8bit, 16bit, 32bit, and 64bit registers.

`@rn`
`@rrn`

  Indirect register: @rrn in segmented mode, @rn in unsegmented mode.

`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)`
`rrn(#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)`
`rrn(rm)`

  Base Index: the 16 or 24 bit register rn or rrn 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.