EasyManua.ls Logo

Texas Instruments TMS320C28x - Page 404

Texas Instruments TMS320C28x
695 pages
Print Icon
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...
NEG64 ACC:P
6-247
Example
; Negate the contents of the 64-bit Var64 and saturate:
MOVL ACC,@Var64+2 ; Load ACC with high 32-bits of Var64
MOVL P,@Var64+0 ; Load P with low 32-bits of Var64
SETC OVM ; Enable overflow mode (saturate)
NEG64 ACC:P ; Negate ACC:P with saturation
MOVL @Var64+2,ACC ; Store high 32-bit result into Var64
MOVL @Var64+0,P ; Store low 32-bit result into Var64

Table of Contents

Related product manuals