TSK3000A Generic Instruction - SH

Frozen Content

Instruction:    Store Halfword

Assembler Format
Example
Translates to...

sh rC, (rA)

sh $3, ($4)

sh rC, 0(rA)

sh rC, target

sh $3, Shifter

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

sh rC, target(rA)

sh $3, Shifter($4)

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

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

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