ush

Operands

$reg, [imm($reg) / imm / id / id+imm / ($reg) / id($reg) / id+imm($reg)]

Unaligned Store Halfword: Store low-order halfword $t1 contents into the 16 bits starting at effective memory byte address

Variants

  • Unaligned Store Halfword: Store low-order halfword $t1 contents into the 16 bits starting at effective memory byte address ush $t1,-100($t2)
  • Unaligned Store Halfword: Store low-order halfword $t1 contents into the 16 bits starting at effective memory byte address ush $t1,100000
  • Unaligned Store Halfword: Store low-order halfword $t1 contents into the 16 bits starting at effective memory byte address ush $t1,label
  • Unaligned Store Halfword: Store low-order halfword $t1 contents into the 16 bits starting at effective memory byte address ush $t1,label+100000
  • Unaligned Store Halfword: Store low-order halfword $t1 contents into the 16 bits starting at effective memory byte address ush $t1,($t2)
  • Unaligned Store Halfword: Store low-order halfword $t1 contents into the 16 bits starting at effective memory byte address ush $t1,100000($t2)
  • Unaligned Store Halfword: Store low-order halfword $t1 contents into the 16 bits starting at effective memory byte address ush $t1,label($t2)
  • Unaligned Store Halfword: Store low-order halfword $t1 contents into the 16 bits starting at effective memory byte address ush $t1,label+100000($t2)
.data
.align 2
data: .half 0
.text
# Write initialized value 0x12345678 with ush; inspect data bytes after the instruction: [0x00, 0x78, 0x56] at offset 1.
la $t1, data
li $t0, 0x12345678
ush $t0, 1($t1)