CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.128 EXTUH (Unsigned Extend from Byte Data to Word Data)
Extend the half-word data indicated by "Ri" to word data as an unsigned binary value.
■ EXTUH (Unsigned Extend from Byte Data to Word Data)
Assembler format:
EXTUH Ri
Operation:
extu (Ri) → Ri (half-word → word)
Flag change:
N, Z, V, and C: Unchanged
Execution cycles:
1 cycle
Instruction format:
Example:
EXTUH R1
242
N
Z
V
C
–
–
–
–
MSB
1
0
0
1
R1
F F F F F F F F
Before execution
0
1
1
1
1
0
LSB
1
1
Ri
R1
0 0 0 0 F F F F
After execution