English
Language : 

SH7604 Datasheet, PDF (37/633 Pages) Hitachi Semiconductor – Hardware Manual
Table 2.5 Immediate Data Accessing
Classification SH7604 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: @(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 absolute address value is
placed in the memory table beforehand. Loading the immediate data when the instruction is
executed transfers that value to the register and the data is accessed in the register indirect
addressing mode (table 2.6).
Table 2.6 Absolute Address Accessing
Classification
SH7604 CPU
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
16-Bit/32-Bit Displacement: When data is accessed by 16-bit or 32-bit displacement, the
displacement value is placed in the memory table beforehand. Loading the immediate data when
the instruction is executed transfers that value to the register and the data is accessed in the
indexed register indirect addressing addressing mode (table 2.7).
Table 2.7 16/32-Bit Displacement Accessing
Classification
SH7604 CPU
16-bit displacement MOV.W
@(disp,PC),R0
MOV.W
@(R0,R1),R2
..................
.DATA.W H'1234
Note: @(disp,PC) accesses the immediate data.
Example of Conventional CPU
MOV.W @(H'1234,R1),R2
21