TSK3000A Generic Instruction - LW
Frozen Content
Instruction: Load Word
Assembler Format | Example | Translates to... |
---|---|---|
lw rC, (rA) | lw $3, ($4) | lw rC, 0(rA) |
lw rC, target | lw $3, Shifter | lui $at, @HI(target) |
lw rC, target(rA) | lw $3, Shifter($4) | lui $at, @HI(target) |
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:
lw rC, @GPREL(target)($gp)