Go backward to H8/300-Regs.
Go up to H8/300 Syntax.
Addressing Modes
................
as understands the following addressing modes for the H8/300:
`rN'
Register direct
`@rN'
Register indirect
`@(D, rN)'
`@(D:16, rN)'
Register indirect: 16-bit displacement D from register N. (You
may specify the `:16' for clarity if you wish, but it is not
required and has no effect.)
`@rN+'
Register indirect with post-increment
`@-rN'
Register indirect with pre-decrement
``@'AA'
``@'AA:8'
``@'AA:16'
Absolute address `aa'. You may specify the `:8' or `:16' for
clarity, if you wish; but `as' neither requires this nor uses
it--the address size required is taken from context.
`#XX'
`#XX:8'
`#XX:16'
Immediate data XX. You may specify the `:8' or `:16' for clarity,
if you wish; but `as' neither requires this nor uses it--the data
size required is taken from context.
``@'`@'AA'
``@'`@'AA:8'
Memory indirect. You may specify the `:8' for clarity, if you
wish; but `as' neither requires this nor uses it.