English
Language : 

SH7101 Datasheet, PDF (56/486 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
2. CPU
Addressing
Mode
Indirect PC
addressing with
displacement
Instruction
Format
Effective Address Calculation
Equation
@(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 PC + disp × 2
the value that is obtained by doubling the sign-
extended 8-bit displacement (disp).
PC
disp
+
(sign-extended)
×
PC + disp × 2
disp:12
2
The effective address is the sum of PC value and PC + disp × 2
the value that is obtained by doubling the sign-
extended 12-bit displacement (disp).
PC
disp
+
(sign-extended)
×
PC + disp × 2
2
Rev.2.00 Sep. 27, 2007 Page 22 of 448
REJ09B0394-0200