D30V-Addressing - Using as
Description: Using as

Previous: D30V-Regs, Up: D30V-Syntax

##### 9.10.2.6 Addressing Modes

`as` understands the following addressing modes for the D30V. `R`n in the following refers to any of the numbered registers, but not the control registers.

`R`n
  Register direct
`@R`n
  Register indirect
`@R`n`+`
  Register indirect with post-increment
`@R`n`-`
  Register indirect with post-decrement
`@-SP`
  Register indirect with pre-decrement
`@(`disp`, R`n`)`
  Register indirect with displacement
addr
  PC relative address (for branch or rep).
`#`imm
  Immediate data (the ‘`#`’ is optional and ignored)