EXT Extract and Sign-Extend a Bit Field
3-110 Instruction Set SPRU733
Extract and Sign-Extend a Bit Field
EXT
Syntax EXT (.unit) src2, csta, cstb, dst
or
EXT (.unit) src2, src1, dst
.unit = .S1 or .S2
Compatibility C62x, C64x, C67x, and C67x+ CPU
Opcode Constant form
31 292827 2322 1817 1312 876543210
creg z dst src2 csta cstb 0 1 0 0 1 0 s p
3 1 5 5 5 5 1 1
Opcode map field used... For operand type... Unit
src2
csta
cstb
dst
sint
ucst5
ucst5
sint
.S1, .S2
Opcode Register form
31 29 28 27 23 22 18 17 13 12 11 6 5 4 3 2 1 0
creg z dst src2 src1 x 1 0 1 1 1 1 1 0 0 0 s p
3 1 5 5 5 1 1 1
Opcode map field used... For operand type... Unit
src2
src1
dst
xsint
uint
sint
.S1, .S2