Status Register (ST0)
2-28
Table 2−8. Bits Affected by the C Bit (Continued)
Instruction
LSR64 ACC:P,T
LSRL ACC,T
MAC
P,loc16,*XAR7/++
MAC
P,loc16,0:pma
MAX
AX,loc16
MAXL ACC,loc32
MIN
AX,loc16
MINL ACC,loc32
MOV
loc16,AX,COND
MOVA T,loc16
MOVAD T,loc16
MOVB loc16,#8bit,COND
MOVL loc32,ACC,COND
MOVS T,loc16
MPYA P,loc16,#16bit
MPYA P,T,loc16
MPYS P,T,loc16
NEG
ACC
NEG
AX
NEG64 ACC:P
Affect of or Affect on C
if(T == 0) C = 0
else C = P(bit(T−1))
if(T == 0) C = 0
else C = ACC(bit(T−1))
C = 1 on carry else C = 0
C = 1 on carry else C = 0
for(AX − [loc16])
C = 0 on borrow else C = 1
for(ACC − [loc32])
C = 0 on borrow else C = 1
for(AX − [loc16])
C = 0 on borrow else C = 1
for(ACC − [loc32])
C = 0 on borrow else C = 1
C bit used as test condition
C = 1 on carry else C = 0
C = 1 on carry else C = 0
C bit used as test condition
C bit used as test condition
C = 0 on borrow else C = 1
C = 1 on carry else C = 0
C = 1 on carry else C = 0
C = 0 on borrow else C = 1
if( ACC == 0) C = 1
else C = 0
if(AX == 0) C = 1
else C = 0
if( ACC:P == 0) C = 1
else C = 0
Need help?
Do you have a question about the TMS320C28x and is the answer not in the manual?