Compare Accumulator - Analog Devices ADSP-BF53x Blackfin Reference

Table of Contents

Advertisement

Compare Accumulator

General Form
CC = A0 == A1
CC = A0 < A1
CC = A0 <= A1
Syntax
CC = A0 == A1 ;
CC = A0 < A1 ;
CC = A0 <= A1 ; /* less than or equal, Accumulator, signed (a) */
Instruction Length
In the syntax, comment (a) identifies 16-bit instruction length.
Functional Description
The Compare Accumulator instruction sets the Control Code (
based on a comparison of two values. The input operands are
Accumulators.
These instructions perform 40-bit signed compare operations on the
Accumulators. The compare operations perform a subtraction and discard
the result of the subtraction without affecting user registers. The compare
operation that you specify determines the value of the
No unsigned compare operations or immediate compare operations are
performed for the Accumulators.
The compare operations are nondestructive on the input operands, and
affect only the
is based on the value of the
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
/* equal, signed (a) */
/* less than, Accumulator, signed (a) */
bit and the flags. All subsequent conditional branching
CC
bit.
CC
Control Code Bit Management
) bit
CC
bit.
CC
11-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents