instruction manuel CM71-00101-5E User guide
245
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.128 EXTUH (Unsigned Extend from Byte Data to Word Data)
Extends 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
NZVC
––––
MSB LSB
100101111011 Ri
R1
FFFF FFFF
R1
0000 FFFF
Before execution After execution
Instruction bit pattern : 1001 0111 1011 0001