Unaligned Load Word (uldw)

Syntax

uldw $d_reg, address

Description

Unaligned Load Word loads the two least significant bytes of the destination register with the word at the specified address. The address does not have to be aligned on a 2-byte boundary, it can be any byte address. Because the loaded word is a signed value, its sign bit is replicated to fill the other bytes in the destination register.

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