Load Word Unsigned (ldwu)

Syntax

ldwu $d_reg, address

Description

Load Word Unsigned 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 an unsigned value, the other bytes of the destination register are cleared to zeros.

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 unless the .arch directive or the /arch command-line option causes the assembler to generate a single machine instruction in response to the ldwu command.