Instruction Set 9-81
lhzu
Load Halfword and Zero with Update
lhzu
Load Halfword and Zero with Update
EA ← (RA) + EXTS(D)
(RA)
← EA
(RT)
←
16
0 || MS(EA,2)
An effective address (EA) is formed by adding a displacement to the base address in register RA. The
displacement is obtained by sign-extending the 16-bit D field to 32 bits. The EA is placed into register
RA.
The halfword at the EA is extended to 32 bits by concatenating 16 0-bits to its left. The result is placed
into register RT.
Registers Altered
•RA
•RT
Invalid Instruction Forms
• RA=RT
• RA=0
Architecture Note
This instruction is part of the PowerPC User Instruction Set Architecture.
lhzu RT, D(RA)
41 RT RA D
0 6 11 16 31