English
Language : 

SH7080 Datasheet, PDF (89/1644 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 2 CPU
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 #H'12345678,R0
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. 3.00 May 17, 2007 Page 31 of 1582
REJ09B0181-0300