
148
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.54
LDI:20 (Load Immediate 20-bit Data to Destination
Register)
Extends the 20-bit immediate data with 12 zeros in the higher bits, loads to "Ri".
■
LDI:20 (Load Immediate 20-bit Data to Destination Register)
Assembler format:
LDI:20 #i20, Ri
Operation:
extu (i20)
→
Ri
Flag change:
N, Z, V, and C: Unchanged
Execution cycles:
2 cycles
Instruction format:
Example:
LDI:20 #54321H, R3
N
Z
V
C
–
–
–
–
MSB
LSB
1
0
0
1
1
0
1
1
Ri
(n+0)
i20(lower)
i20(higher)
(n+2)
R3
R3
0 0 0 5
4 3 2 1
0 0 0 0
0 0 0 0
Before execution
After execution
Instruction bit pattern : 1001 1011 0101 0011
: 0100 0011 0010 0001
Содержание FR Family
Страница 2: ......
Страница 3: ...FUJITSU LIMITED FR Family 32 BIT MICROCONTROLLER INSTRUCTION MANUAL ...
Страница 4: ......
Страница 8: ...iv ...
Страница 14: ...x ...
Страница 36: ...12 CHAPTER 2 MEMORY ARCHITECTURE ...
Страница 284: ...260 CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS ...
Страница 301: ...277 INDEX INDEX The index follows on the next page This is listed in alphabetical order ...
Страница 314: ......