extsh
Extend Sign Halfword
PPC440x5 CPU Core User’s Manual Preliminary
Page 312 of 589 instrset.fm.
September 12, 2002
extsh
Extend Sign Halfword
(RA) EXTS(RS)16:31
Theleast significant halfword of register RS is sign-extended to 32 bits by replicating bit16 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
Reser ved fields
extsh RA, RS Rc=0
extsh. RA, RS Rc=1
31 RS RA 922 Rc
0 6 11 16 21 31