English
Language : 

SH7046 Datasheet, PDF (60/611 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7046 Series
Section 2 CPU
Immediate Data: Byte (8-bit) immediate data is located in an instruction code. Word or longword
immediate data is not located in instruction codes but in a memory table. An immediate data
transfer instruction (MOV) accesses the memory table using the PC relative addressing mode with
displacement.
Table 2.5 Immediate Data Accessing
Classification
CPU of This LSI
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: @(disp, PC) accesses the immediate data.
Example of Conventional CPU
MOV.B #H'12,R0
MOV.W #H'1234,R0
MOV.L #H'12345678,R0
Absolute Address: When data is accessed by absolute address, the value in the absolute address is
placed in the memory table in advance. That value is transferred to the register by loading the
immediate data during the execution of the instruction, and the data is accessed in the indirect
register addressing mode.
Table 2.6 Absolute Address Accessing
Classification
CPU of This LSI
Absolute address MOV.L
@(disp,PC),R1
MOV.B
@R1,R0
..................
.DATA.L H'12345678
Note: @(disp,PC) accesses the immediate data.
Example of Conventional CPU
MOV.B @H'12345678,R0
Rev. 4.00 Dec 05, 2005 page 16 of 564
REJ09B0270-0400