23
Table 2.5
Immediate Data Accessing
Classification
SH7000 Series CPU
Conventional CPU
8-bit immediate
MOV #H'12,R0
MOV.B #H'12,R0
16-bit immediate
MOV.W @(disp,PC),R0
.........
.DATA.W
H'1234
MOV.W #H'1234,R0
32-bit immediate
MOV.L @(disp,PC),R0
.........
.DATA.L
H'12345678
MOV.L #H'12345678,
R0
Note:
The address of the immediate data is accessed by @(disp, PC).
Absolute Address: When data is accessed by absolute address, the value already in the absolute
address is placed in the memory table. By loading the immediate data when the instruction is
executed, that value is transferred to the register and the data is accessed in the indirect register
addressing mode.
Table 2.6
Absolute Address Accessing
Classification
SH7000 Series CPU
Conventional CPU
Absolute address
MOV.L @(disp,PC),R1
MOV. B @R1,R0
.........
.DATA.L H'12345678
MOV.B
@H'12345678,R0
Note:
The address of the immediate data is accessed by @(disp, PC).
16/32-Bit Displacement: When data is accessed by 16-bit or 32-bit displacement, the pre-existing
displacement value is placed in the memory table. By loading the immediate data when the
instruction is executed, that value is transferred to the register and the data is accessed in the
indirect indexed register addressing mode.
Table 2.7
Accessing by Displacement
Classification
SH7000 Series CPU
Conventional CPU
16-bit displacement
MOV.W @(disp,PC),R0
MOV.W @(R0,R1),R2
.........
.DATA.W
H'1234
MOV.W @(H'1234,R1),R2
Note:
The address of the immediate data is accessed by @(disp, PC).
Содержание HD6417032
Страница 21: ......
Страница 35: ...xiv ...
Страница 85: ...50 ...
Страница 101: ...66 ...
Страница 129: ...94 ...
Страница 135: ...100 ...
Страница 343: ...308 ...
Страница 369: ...334 ...
Страница 383: ...348 ...
Страница 475: ...440 ...
Страница 525: ...490 CK RAS CAS TRp TRc TRcc tRASD1 tRASD2 tCASD3 tCASD2 TRr tCSR Figure 20 18 Self Refresh ...
Страница 578: ...543 CK RAS CAS TRp TRc TRcc tRASD1 tRASD2 tCASD3 tCASD2 TRr tCSR Figure 20 62 Self Refresh ...
Страница 689: ...654 ...