TSK3000A Generic Instruction - SW

Frozen Content

Instruction:    Store Word

Assembler Format
Example
Translates to...

sw rC, (rA)

sw $3, ($4)

sw rC, 0(rA)

sw rC, target

sw $3, Shifter

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

sw rC, target(rA)

sw $3, Shifter($4)

lui $at, @HI(target)
addu $at, $at, rA
sw 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:

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

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