TSK3000A Generic Instruction - LHU

Frozen Content

Instruction:    Load Halfword Unsigned

Assembler Format
Example
Translates to...

lhu rC, (rA)

lhu $3, ($4)

lhu rC, 0(rA)

lhu rC, target

lhu $3, Shifter

lui $at, @HI(target)
lhu rC, @LO(target)($at)

lhu rC, target(rA)

lhu $3, Shifter($4)

lui $at, @HI(target)
addu $at, $at, rA
lhu rC, @LO(target)($at)

Notes

With respect to the third format for this macro, if the source register is the GP register ($28) and the assembler runs with the -gp-relative option enabled, the format translates into the following single machine instruction:

lhu rC, @GPREL(target)($gp)

You are reporting an issue with the following selected text and/or image within the active document: