plbz

Prefixed Load Byte and Zero

plbz RT, D34(RA), R

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

plbz r3, 0x12345678(0), 0

// Load byte from absolute address.

Encoding

Binary Layout
1
0
2
6
R
8
0
9
D0
14
35
32
RT
38
RA
43
D1
48
 
Format MLS:D-form
Opcode 0x0600000088000000
Extension Prefixed

Operands

  • RT
    Target Register
  • D34
    34-bit Displacement
  • RA
    Base Register