Negate (Two's-Complement) - Analog Devices ADSP-BF53x Blackfin Reference

Table of Contents

Advertisement

Negate (Two's-Complement)

General Form
dest_reg = – src_reg
dest_accumulator = – src_accumulator
Syntax
Dreg = – Dreg ;
Dreg = – Dreg (sat_flag) ;
A0 = – A0 ;
A0 = – A1 ;
A1 = – A0 ;
A1 = – A1 ;
A1 = – A1, A0 = – A0 ;
neously in one 32-bit length instruction (b) */
Syntax Terminology
:
Dreg
R7–0
: nonoptional saturation flag,
sat_flag
Instruction Length
In the syntax, comment (a) identifies 16-bit instruction length. Comment
(b) identifies 32-bit instruction length.
Functional Description
The Negate (Two's-Complement) instruction returns the same magnitude
with the opposite arithmetic sign. The Accumulator versions saturate the
result at 40 bits. The instruction calculates by subtracting from zero.
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
/* (a) */
/* (b) */
/* (b) */
/* (b) */
/* (b) */
/* (b) */
/* negate both Accumulators simulta-
Arithmetic Operations
or
(S)
(NS)
15-73

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents