|
SH7730 Datasheet, PDF (100/1188 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7780 Series | |||
|
◁ |
Section 3 Instruction Set
Addressing Instruction
Mode
Format
Effective Address Calculation Method
Calculation
Formula
Register
indirect
with pre-
decrement
@âRn
Effective address is register Rn contents,
decremented by a constant beforehand:
1 for a byte operand, 2 for a word operand,
4 for a longword operand, 8 for a quadword
operand.
Rn
Byte:
Rn â 1 â Rn
Word:
Rn â 2 â Rn
Longword:
Rn â 4 â Rn
Rn â 1/2/4 â
Rn â 1/2/4/8
Quadword:
Rn â 8 â Rn
1/2/4
Rn â EA
(Instruction
executed
with Rn after
calculation)
Register
@(disp:4, Rn) Effective address is register Rn contents with
indirect with
4-bit displacement disp added. After disp is
displacement
zero-extended, it is multiplied by 1 (byte), 2
(word), or 4 (longword), according to the operand
size.
Rn
disp
(zero-extended)
+
Rn + disp à 1/2/4
Byte: Rn + disp
â EA
Word: Rn + disp
à 2 â EA
Longword:
Rn + disp à 4 â
EA
Ã
Indexed
register
indirect
@(R0, Rn)
1/2/4
Effective address is sum of register Rn and R0
contents.
Rn
+
Rn + R0
Rn + R0 â EA
R0
Rev. 1.00 Sep. 19, 2007 Page 52 of 1136
REJ09B0359-0100
|
▷ |