Assembly:

SEH rt, rs

nanoMIPS

Sign Extend Half

Purpose:

Sign Extend Half. Take the lower halfword of the value in register $rs, sign extend it, andplace the result in register $rt.

Availability:

nanoMIPS

Format:

001000

rt

rs

x

0001001

000

6

5

5

6

7

3

Operation:

GPR[rt] = sign_extend(GPR[rs], from_nbits=16)

Exceptions:

None.