plwz
Prefixed Load Word and Zero
plwz RT, D34(RA), R
Loads a 32-bit word and zero-extends it to 64 bits, using a 34-bit offset.
Details
The Prefixed Load Word and Zero instruction loads a word from memory into the target register RT, zero-extending it to 64 bits. The effective address is calculated based on the prefix and suffix fields.
Pseudocode Operation
RT <- zext(MEM(EA, 4))
Programming Note
Use plwz when loading a word from memory into a 64-bit register with zero extension. Ensure the EA (Effective Address) is correctly calculated using the prefix and suffix fields. This instruction operates at user privilege level.
Example
plwz r3, 0(r4), 0
Encoding
Binary Layout
1
0
2
6
R
8
0
9
D0
14
34
32
RT
38
RA
43
D1
48
Operands
-
RT
Target Register -
D34
34-bit Displacement -
RA
Base Register