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, target(rA) | sw $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:
sw rC, @GPREL(target)($gp)