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 #235 background imageLoading...
Page #235 background image
CMP64 ACC:P
6-78
Example
; If 64-bit VarA > 64-bit VarB, branch:
CMP64 ACC:P ; Clear V flag
MOVL P,@VarA+0 ; Load P with low 32 bits of VarA
MOVL ACC,@VarA+2 ; Load ACC with high 32 bits of VarA
SUBUL P,@VarB+0 ; Sub from P unsigned low 32 bits of VarB
SUBBL ACC,@VarB+2 ; Sub from ACC with borrow high 32 bits of VarB
CMP64 ACC:P ; Set Z,N flags appropriately for ACC:P
SB Dest,GT ; branch if VarA > VarB

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