EasyManua.ls Logo

Texas Instruments TMS320C28x - Page 233

Texas Instruments TMS320C28x
695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CMP loc16,#16bit
6-76
Example ; Calculate:
; if( VarA > 20 )
; VarA = 0;
CMP @VarA,#20 ; Set flags on (VarA − 20)
MOVB @VarA,#0,GT ; Zero VarA if greater then

Table of Contents

Related product manuals