EasyManuals Logo

Texas Instruments TMS320C28x User Manual

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
Page #328 background imageLoading...
Page #328 background image
MOV loc16, AX, COND
6-171
Example
; Swap the contents of VarA and VarB if VarB is higher then VarA:
MOV AL,@VarA ; AL = VarA, XAR2 points to VarB
MOV AH,@VarB ; AH = VarB, XAR2 points to VarA
CMP AH,@AL ; Compare AH and AL
MOV @VarA,AH,HI ; Store AH in VarA if higher
MOV @VarB,AL,HI ; Store AL in VarB if higher

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS320C28x and is the answer not in the manual?

Texas Instruments TMS320C28x Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS320C28x
CategoryProcessor
LanguageEnglish

Related product manuals