Instruction Set 9-63
extsb
Extend Sign Byte
extsb
Extend Sign Byte
(RA) ← EXTS(RS)
24:31
The least significant byte of register RS is sign-extended to 32 bits by replicating bit 24 of the register
into bits 0 through 23 of the result. The result is placed into register RA.
Registers Altered
•RA
• CR[CR0]
LT, GT, EQ, SO
if Rc contains 1
Invalid Instruction Forms
• Reserved fields
Architecture Note
This instruction is part of the PowerPC User Instruction Set Architecture.
extsb RA, RS Rc=0
extsb. RA, RS Rc=1
31 RS RA 954 Rc
0 6 11 16 21 31