plwa
Prefixed Load Word Algebraic
Loads 32-bit word (Sign Extended) using 34-bit offset.
Details
The Prefixed Load Word Algebraic (plwa) instruction loads a word from memory into the target register RT, zeroing out the upper 32 bits of RT. The effective address is calculated based on the prefix and suffix fields.
Programming Note
The plwa instruction is commonly used for loading a word from memory into a register while ensuring the upper 32 bits are zeroed. Ensure that the base address in RA and the offset in RB are correctly set to avoid incorrect memory access. This instruction operates at user privilege level and will raise an exception if the effective address is out of bounds or if there is a protection fault.
Example
Encoding
Operands
-
RT
Target -
D
Offset -
RA
Base -
R
PC-Rel