Section 2 CPU
Rev. 3.00 Sep. 27, 2007 Page 28 of 758
REJ09B0243-0300
Addressing
Mode
Instruction
Format
Effective Address Calculation Method
Calculation
Formula
PC relative with
displacement
@(disp:8,
PC)
Effective address is PC with 8-bit displacement
disp added. After disp is zero-extended, it is
multiplied by 2 (word) or 4 (longword), according
to the operand size. With a longword operand,
the lower 2 bits of PC are masked.
PC
PC + disp
×
2
or
PC&
H'FFFFFFFC
+ disp
×
4
H'FFFFFFFC
+
&
×
2/4
disp
(zero-extended)
*
*
With longword operand
Word: PC + disp
×
2
Longword:
PC&H'FFFFFFFC
+ disp
×
4
PC relative
disp:8
Effective address is PC with 8-bit displacement
disp added after being sign-extended and
multiplied by 2.
PC
2
disp
(sign-extended)
PC + disp
×
2
×
+
PC + disp
×
2
disp:12
Effective address is PC with 12-bit displacement
disp added after being sign-extended and
multiplied by 2.
PC
2
disp
(sign-extended)
PC + disp
×
2
×
+
PC + disp
×
2
Summary of Contents for SH7124 R5F7124
Page 2: ...Rev 3 00 Sep 27 2007 Page ii of xx ...
Page 8: ...Rev 3 00 Sep 27 2007 Page viii of xx ...
Page 36: ...Section 1 Overview Rev 3 00 Sep 27 2007 Page 16 of 758 REJ09B0243 0300 ...
Page 68: ...Section 2 CPU Rev 3 00 Sep 27 2007 Page 48 of 758 REJ09B0243 0300 ...
Page 108: ...Section 5 Exception Handling Rev 3 00 Sep 27 2007 Page 88 of 758 REJ09B0243 0300 ...
Page 166: ...Section 7 User Break Controller UBC Rev 3 00 Sep 27 2007 Page 146 of 758 REJ09B0243 0300 ...
Page 724: ...Section 20 List of Registers Rev 3 00 Sep 27 2007 Page 704 of 758 REJ09B0243 0300 ...
Page 772: ...Rev 3 00 Sep 27 2007 Page 752 of 758 REJ09B0243 0300 ...
Page 778: ...Rev 3 00 Sep 27 2007 Page 758 of 758 REJ09B0243 0300 ...
Page 781: ......