Instructions That Affect The Tc Bit - Texas Instruments TMS320C28x Reference Manual

Dsp cpu and instruction set
Table of Contents

Advertisement

Table 2−9. Instructions That Affect the TC Bit
Instruction
ABSTC ACC
B
16bitOff,COND
BF
16bitOff,COND
CLRC TC
CMPR
0/1/2/3
CSB
ACC
MOV
loc16,AX,COND
MOVB loc16,#8bit,COND
MOVL loc32,ACC,COND
NEGTC ACC
NORM ACC,XARn++/−−
NORM ACC,*ind
SB
8bitOff,COND
SBF
8bitOff,TC/NTC
SETC TC
TBIT loc16,#bit
TBIT loc16,T
TCLR loc16,#bit
TSET loc16,#bit
XB
pma,COND
XCALL pma,COND
XRETC COND
Status Register (ST0)
Affect on the TC bit
if( ACC < 0 ) TC = TC ^ 1
TC bit used as test condition
TC bit used as test condition
TC = 0
TC = 0
0: if(AR(ARP) == AR0) TC = 1
1: if(AR(ARP) < AR0) TC = 1
2: if(AR(ARP) > AR0) TC = 1
3: if(AR(ARP) != AR0) TC = 1
TC = N flag
TC bit used as test condition
TC bit used as test condition
TC bit used as test condition
TC bit used as test condition
if(ACC |= 0)
TC = ACC(31) ^ ACC(30)
else
TC = 1
TC bit used as test condi-
tion
TC bit used as test condition
TC = 1
TC = [loc16(bit)]
TC = [loc16(15−T)]
TC = [loc16(bit)]
TC = [loc16(bit)]
TC bit used as test condition
TC bit used as test condition
TC bit used as test condition
Central Processing Unit
2-31

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