|
SH7144_08 Datasheet, PDF (71/930 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family/SH7144 Series | |||
|
◁ |
2. CPU
Addressing
Mode
Instruction
Format
Effective Address Calculation
Equation
Indirect PC
addressing with
displacement
@(disp:8, The effective address is the sum of PC value and
PC)
an 8-bit displacement (disp). The value of disp is
zero-extended, and is doubled for a word operation,
and quadrupled for a longword operation. For a
longword operation, the lowest two bits of the PC
value are masked.
Word:
PC + disp à 2
Longword:
PC &
H'FFFFFFFC
+ disp à 4
PC
(for longword)
&
H'FFFFFFFC
+
disp
(zero-extended)
Ã
PC + disp à 2
or
PC & H'FFFFFFFC
+ disp à 4
PC relative
addressing
disp:8
2/4
The effective address is the sum of PC value and
the value that is obtained by doubling the sign-
extended 8-bit displacement (disp).
PC
disp
+
(sign-extended)
Ã
PC + disp à 2
PC + disp à 2
disp:12
2
The effective address is the sum of PC value and
the value that is obtained by doubling the sign-
extended 12-bit displacement (disp).
PC
disp
+
(sign-extended)
Ã
PC + disp à 2
PC + disp à 2
2
Rn
The effective address is the sum of the register PC PC + Rn
and Rn.
PC
+
PC + Rn
Rn
Rev.4.00 Mar. 27, 2008 Page 27 of 882
REJ09B0108-0400
|
▷ |