Load Word (ldw)

Syntax

ldw $d_reg, address

Description

Load Word loads the two least significant bytes of the destination register with the contents of the word specified by the effective address. Because the loaded word is a signed value, its sign bit is replicated to fill the other bytes in the destination register.

If the effective address is not evenly divisible by 2, a data alignment exception may be signaled.

Note   The assembler destroys the contents of temporary registers $at and $t9 for this instruction.