Status Register (ST0)
2-31
Central Processing Unit
Table 2
−
9. Instructions That Affect the TC Bit
Instruction
Affect on the TC bit
ABSTC ACC
if( ACC < 0 ) TC = TC ^ 1
B 16bitOff,COND
TC bit used as test condition
BF 16bitOff,COND
TC bit used as test condition
CLRC TC
TC = 0
CMPR 0/1/2/3
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
CSB ACC
TC = N flag
MOV loc16,AX,COND
TC bit used as test condition
MOVB loc16,#8bit,COND
TC bit used as test condition
MOVL loc32,ACC,COND
TC bit used as test condition
NEGTC ACC
TC bit used as test condition
NORM ACC,XARn++/
−−
NORM ACC,*ind
if(ACC |= 0)
TC = ACC(31) ^ ACC(30)
else
TC = 1
SB 8bitOff,COND
TC bit used as test condi-
tion
SBF 8bitOff,TC/NTC
TC bit used as test condition
SETC TC
TC = 1
TBIT loc16,#bit
TC = [loc16(bit)]
TBIT loc16,T
TC = [loc16(15
−
T)]
TCLR loc16,#bit
TC = [loc16(bit)]
TSET loc16,#bit
TC = [loc16(bit)]
XB pma,COND
TC bit used as test condition
XCALL pma,COND
TC bit used as test condition
XRETC COND
TC bit used as test condition
Содержание TMS320C28x
Страница 30: ...1 12...
Страница 80: ...This page intentionally left blank 2 50 This page intentionally left blank...
Страница 269: ...IN loc16 PA 6 112 MOV AL 0 AL 0 UOUT IORegC AL IOspace IORegC AL 10...
Страница 308: ...MAXCUL P loc32 6 151 Saturate MOVL Var64 2 ACC Store result into Var64 MOVL Var64 P...
Страница 509: ...SUBL ACC P PM 6 352 SUBL ACC P PM ACC S B 11 M X 4 MOVH Y ACC 5 Store Q15 result into Y...
Страница 585: ...This page intentionally left blank 7 32 This page intentionally left blank...