Texas Instruments TMS320C28x Reference Manual page 352

Dsp cpu and instruction set
Table of Contents

Advertisement

Repeat
Example
; Calculate:
; if( VarA > 20 )
;
CMP
MOVB
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
VarA = 0;
@VarA,#20
@VarA,#0,GT
; Set flags on (VarA − 20)
; Zero VarA if greater then
MOVB loc16,#8bit,COND
6-195

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