Texas Instruments TMS320C28x Reference Manual page 57

Dsp cpu and instruction set
Table of Contents

Advertisement

Table 2−8. Bits Affected by the C Bit (Continued)
Instruction
CMP
loc16,#16bitSigned
CMPB AX,#8bit
CMPL ACC,loc32
CMPL ACC,P << PM
DEC
loc16+
DMAC ACC:P,loc32,*XAR7/++
IMACL P,loc32,*XAR7/++
IMPYAL P,XT,loc32
IMPYSL P,XT,loc32
INC
loc16
LSL
ACC,1..16
LSL
ACC,T
LSL
AX,1..16
LSL
AX,T
LSL64 ACC:P,1..16
LSL64 ACC:P,T
LSLL ACC,T
LSR
AX,1..16
LSR
AX,T
LSR64 ACC:P,1..16
Status Register (ST0)
Affect of or Affect on C
for([loc16] − 16bitSigned)
C = 0 on borrow else C = 1
C = 0 on borrow else C = 1
for(ACC − [loc32])
C = 0 on borrow else C = 1
for(ACC − P << PM)
C = 0 on borrow else C = 1
C = 0 on borrow else C = 1
C = 1 on carry else C = 0
C = 1 on carry else C = 0
C = 1 on carry else C = 0
C = 0 on borrow else C = 1
C = 1 on carry else C = 0
C = ACC(bit(32−shift))
if(T == 0) C = 0
else C = ACC(bit(32−T))
C = AX(bit(16−shift))
if(T == 0) C = 0
else C = AX(bit(16−T))
C = ACC(bit(32−shift))
if(T == 0) C = 0
else C = ACC(bit(32−T))
if(T == 0) C = 0
else C = ACC(bit(32−T))
C = AX(bit(shift−1))
if(T == 0) C = 0
else C = AX(bit(T−1))
C = P(bit(shift−1))
Central Processing Unit
2-27

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C28x and is the answer not in the manual?

Table of Contents

Save PDF