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