seh

Operands

$reg, $reg

Sign extend halfword : Copies the low 16 bits of $t2 into $t1, with bit 15 replicated through the upper 16 bits. Turns a halfword loaded with 'lhu' back into a signed value.

Variants

  • Sign extend halfword : Copies the low 16 bits of $t2 into $t1, with bit 15 replicated through the upper 16 bits. Turns a halfword loaded with 'lhu' back into a signed value. seh $t1,$t2
Loading...