Texas Instruments TMS320C67X/C67X+ DSP Car Speaker User Manual


 
Subtract Using Byte Addressing Mode SUBAB
3-253 Instruction SetSPRU733
Subtract Using Byte Addressing Mode
SUBAB
Syntax SUBAB (.unit) src2, src1, dst
.unit = .D1 or .D2
Compatibility C62x, C64x, C67x, and C67x+ CPU
Opcode
31 292827 2322 1817 1312 76543210
creg z dst src2 src1 op 1 0 0 0 0 s p
3 1 5 5 5 6 1 1
Opcode map field used... For operand type... Unit Opfield
src2
src1
dst
sint
sint
sint
.D1, .D2 11 0001
src2
src1
dst
sint
ucst5
sint
.D1, .D2 11 0011
Description src1 is subtracted from src2 using the byte addressing mode specified for src2.
The subtraction defaults to linear mode. However, if src2 is one of A4A7 or
B4B7, the mode can be changed to circular mode by writing the appropriate
value to the AMR (see section 2.7.3, page 2-10). The result is placed in dst.
Execution if (cond) src2 a src1
dst
else nop
Pipeline
Stage
E1
Read src1, src2
Written dst
Unit in use
.D
Instruction Type Single-cycle
Delay Slots 0
See Also SUB, SUBAH, SUBAW
Pipeline