lwax
Load Word Algebraic Indexed X-form
Loads a word from memory into a register using an indexed address.
Details
The lwax instruction loads a word from the effective address (EA) calculated as (RA|0) + (RB) and places it into RT. The EA is formed by concatenating the upper 32 bits of RA with zeros, then adding RB to this value.
Programming Note
The lwax instruction is commonly used for loading a word from memory into a register using an indexed addressing mode. Ensure that the base address in RA is properly aligned to avoid misaligned access exceptions. This instruction operates at user privilege level and can raise an exception if the EA is out of bounds or if there are memory protection violations.
Example
Encoding
Operands
-
RT
Target General Purpose Register -
RA
Source General Purpose Register (base address) -
RB
Source General Purpose Register (offset)