plbz
Prefixed Load Byte and Zero
Loads a byte and zero-extends it, using a 34-bit offset.
Details
Loads a single byte from memory at the address formed by adding the 34-bit signed displacement D34 to the base register RA, zero-extends it to 64 bits, and stores the result in RT. This is a prefixed instruction using the MLS:D-form encoding with a 34-bit effective address offset. No condition flags are affected.
Pseudocode Operation
EA ← (RA) + D34
RT ← (0)56 || ([EA])
Programming Note
The plbz instruction is used to load a single byte from memory and zero-extend it to fill the entire register. Ensure that the effective address (EA) is properly aligned for optimal performance, although misalignment does not cause an exception. This instruction operates at user privilege level.
Example
// Load byte from absolute address.
Encoding
Operands
-
RT
Target Register -
D34
34-bit Displacement -
RA
Base Register