2.2.30 (2) EXTU (L)
EXTU (EXTend as Unsigned)
Zero Extension
Operation
0
→
(<bits 31 to 16> of ERd>)
Zero extend
Assembly-Language Format
EXTU.L
ERd
Operand Size
Longword
Condition Code
H: Previous value remains unchanged.
N: Always cleared to 0.
Z:
Set to 1 if the result is zero; otherwise
cleared to 0.
V: Always cleared to 0.
C: Previous value remains unchanged.
I
UI
H
U
N
Z
V
C
—
—
—
—
0
↕
0
—
Description
This instruction extends the lower 16 bits (general register Rd) in a 32-bit register ERd to
longword data by padding with zeros. That is, it clears the upper 16 bits of ERd (bits 31 to 16) to
0.
Available Registers
ERd: ER0 to ER7
Operand Format and Number of States Required for Execution
Notes
Don’t care
ERd
16 bits
16 bits
Zero extension
ERd
16 bits
16 bits
Instruction Format
1st byte
2nd byte
3rd byte
4th byte
Register direct
EXTU.L
ERd
1
7
7
0 erd
2
No. of
States
Addressing
Mode
Mnemonic
Operands
101