35.3.5.5. INTEGER CONVERSIONS ON POWER PC





0..5	opcode1
6..10	S
11..15	A
16..20	0s
21.30	opcode2
31	Rc

			Rc	opcode
extsb	rA,rS		0	31.954	Extend Sign Byte			
extsb.	rA,rS		1

	S <- rS[24]
	rA[24-31] <- rS[24-31]
	rA[0-23]  <- (24)S


extsh	rA,rS		0	31.922	Extend Sign Half Word
extsh.	rA,rS		1

	S <- rS[16]
	rA[16-31] <- rS[16-31]
	rA[0-15]  <- (16)S


For 64-bit Power PC
	extsw			Extend Signed Word


// ----------------------------------------------------------------------



Index Prev Next