D10V-Addressing - Using as
Description: Using as

Next: D10V-Word, Previous: D10V-Regs, Up: D10V-Syntax

##### 9.8.2.5 Addressing Modes

`as` understands the following addressing modes for the D10V. `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)