Encoding:

RR

11101

rx

SEH

101

CNVT

10001

5

3

3

5

Format:

SEH rx

MIPS16e

Sign-Extend Halfword

Purpose:

Sign-Extend Halfword

Sign-extend least significantord in register rx.

Description:

GPR[rx] = sign_extend(GPR[rx]15..0);

The least significant halford of GPR rx is sign-extended and the value written back to rx.

Restrictions:

None

Operation:

temp = GPR[Xlat(rx)]
GPR[Xlat(rx)] = sign_extend(temp15..0)

Exceptions:

None.

Programming Notes:

None.