Encoding:

RR

11101

rx

SEB

100

CNVT

10001

5

3

3

5

Format:

SEB rx

MIPS16e

Sign-Extend Byte

Purpose:

Sign-Extend Byte

Sign-extend least significant byte in r gister rx.

Description:

GPR[rx] = sign_extend(GPR[rx]7..0)

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

Restrictions:

None

Operation:

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

Exceptions:

None.

Programming Notes:

None.