English
Language : 

SH7050 Datasheet, PDF (49/841 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH RISC engine Family/
Section 2 CPU
2.3.2 Addressing Modes
Table 2.8 describes addressing modes and effective address calculation.
Table 2.8 Addressing Modes and Effective Addresses
Addressing
Mode
Instruction
Format
Effective Addresses Calculation
Direct register Rn
addressing
The effective address is register Rn. (The operand
is the contents of register Rn.)
Indirect register @Rn
addressing
The effective address is the content of register Rn.
Rn
Rn
Equation
—
Rn
Post-increment @Rn+
indirect register
addressing
Pre-decrement @–Rn
indirect register
addressing
The effective address is the content of register Rn.
A constant is added to the content of Rn after the
instruction is executed. 1 is added for a byte
operation, 2 for a word operation, and 4 for a
longword operation.
Rn
Rn
Rn + 1/2/4 +
1/2/4
The effective address is the value obtained by
subtracting a constant from Rn. 1 is subtracted for
a byte operation, 2 for a word operation, and 4 for
a longword operation.
Rn
Rn – 1/2/4 –
Rn – 1/2/4
1/2/4
Rn
(After the
instruction
executes)
Byte: Rn + 1
→ Rn
Word: Rn + 2
→ Rn
Longword:
Rn + 4 → Rn
Byte: Rn – 1
→ Rn
Word: Rn – 2
→ Rn
Longword:
Rn – 4 → Rn
(Instruction
executed with
Rn after
calculation)
Rev. 5.00 Jan 06, 2006 page 29 of 818
REJ09B0273-0500