extsh
Extend Sign Halfword
PPC440x5 CPU Core User's Manual
extsh
Extend Sign Halfword
extsh
RA, RS
extsh.
RA, RS
31
0
6
(RA)
EXTS(RS)
16:31
The least significant halfword of register RS is sign-extended to 32 bits by replicating bit 16 of the register into
bits 0 through 15 of the result. The result is placed into register RA.
Registers Altered
• RA
• CR[CR0] if Rc contains 1
Invalid Instruction Forms
• Reserved fields
Page 312 of 589
RS
RA
11
Rc=0
Rc=1
16
21
Preliminary
922
Rc
31
instrset.fm.
September 12, 2002