Fujitsu CM71-00101-5E User Manual

Page of 314
149
CHAPTER 7  DETAILED EXECUTION INSTRUCTIONS
7.55
LDI:8 (Load Immediate 8-bit Data to Destination Register)
Extends the 8-bit immediate data with 24 zeros in the higher bits, loads to "Ri".
LDI:8 (Load Immediate 8-bit Data to Destination Register)
Assembler format:
LDI:8 #i8, Ri
Operation:
extu (i8) 
 Ri
Flag change:    
N, Z, V, and C: Unchanged
Execution cycles:  
1 cycle
Instruction format:  
Example:
LDI:8 #21H, R3
N
Z
V
C
MSB
LSB
1
1
0
0
Ri
i8
R3
R3
0 0 0 0
0 0 2 1
0 0 0 0
0 0 0 0
Before execution
After execution
Instruction bit pattern : 1100 0010 0001 0011