|
SH7760 Datasheet, PDF (109/1345 Pages) Renesas Technology Corp – SuperHTM RISC engine | |||
|
◁ |
Addressing Instruction
Mode
Format
Effective Address Calculation Method
Calculation
Formula
PC-relative @(disp:8, PC) Effective address is PC + 4 with 8-bit displacement Word: PC + 4
with
disp added. After disp is zero-extended, it is
+ disp à 2 â
displacement
multiplied by 2 (word), or 4 (longword), according EA
to the operand size. With a longword operand,
the lower 2 bits of PC are masked.
Longword:
PC & H'FFFF
PC
FFFC + 4 +
disp à 4 â
&*
EA
H'FFFF FFFC
+
4
+
disp
(zero-extended)
Ã
PC + 4 + disp
Ã2
or PC &
H'FFFF FFFC
+ 4 + disp à 4
PC-relative disp:8
2/4
* With longword operand
Effective address is PC + 4 with 8-bit displacement PC + 4 + disp
disp added after being sign-extended and
Ã2â
multiplied by 2.
Branch-
Target
PC
+
4
+
disp
(sign-extended)
Ã
PC + 4 + disp à 2
2
Rev. 1.0, 02/03, page 59 of 1294
|
▷ |