English
Language : 

SH7618 Datasheet, PDF (59/646 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7618 Series
Section 2 CPU
Immediate Data: 8-bit immediate data is placed in the instruction code. Word and longword
immediate data is not placed in the instruction code. It is placed in a table in memory. The table in
memory is accessed with the MOV immediate data instruction using PC relative addressing mode
with displacement.
Table 2.5 Access to Immediate Data
Type
This LSI's CPU
8-bit immediate
MOV #H'12,R0
16-bit immediate
MOV.W @(disp,PC),R0
........
.DATA.W H'1234
32-bit immediate
MOV.L @(disp,PC),R0
........
.DATA.L H'12345678
Note: Immediate data is accessed by @(disp,PC).
Example of Other CPU
MOV.B #H'12,R0
MOV.W #H'1234,R0
MOV.L
R0
#H'12345678,
Absolute Addresses: When data is accessed by absolute address, place the absolute address value
in a table in memory beforehand. The absolute address value is transferred to a register using the
method whereby immediate data is loaded when an instruction is executed, and the data is
accessed using the register indirect addressing mode.
Table 2.6 Access to Absolute Address
Type
CPU in this LSI
Absolute address
MOV.L @(disp,PC),R1
MOV.B @R1,R0
........
.DATA.L H'12345678
Note: Immediate data is referenced by @(disp,PC).
Example of Other CPUs
MOV.B
@H'12345678,
R0
16-Bit/32-Bit Displacement: When data is accessed using the 16- or 32-bit displacement
addressing mode, the displacement value is placed in a table in memory beforehand. Using the
method whereby immediate data is loaded when an instruction is executed, this value is
transferred to a register and the data is accessed using index register indirect addressing mode.
Rev. 6.00 Jun. 12, 2007 Page 27 of 610
REJ09B0131-0600