126.96.36.199 Addressing Modes
as understands the following addressing modes for the SH.
Rn in the following refers to any of the numbered
registers, but not the control registers.
- Register direct
- Register indirect
- Register indirect with pre-decrement
- Register indirect with post-increment
- Register indirect with displacement
- Register indexed
- GBR indexed
- PC relative address (for branch or for addressing memory). The
as implementation allows you to use the simpler form
addr anywhere a PC relative address is called for; the alternate
form is supported for compatibility with other assemblers.
- Immediate data