Analog Devices ADSP-BF53x Blackfin Reference page 429

Table of Contents

Advertisement

Instruction Length
In the syntax, comment (a) identifies 16-bit instruction length.
Functional Description
The Compare Data Register instruction sets the Control Code (
based on a comparison of two values. The input operands are D-registers.
The compare operations are nondestructive on the input operands and
affect only the
subsequent conditional branching.
The various forms of the Compare Data Register instruction perform
32-bit signed compare operations on the input operands or an unsigned
compare operation, if the
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
Flags Affected
The Compare Data Register instruction uses the values shown in
Table 11-1
in signed and unsigned compare operations.
Table 11-1. Compare Data Register Values
Comparison
Equal
Less than
Less than or equal
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
bit and the flags. The value of the
CC
optional mode is appended. The compare
(IU)
bit.
CC
Signed
AZ=1
AN=1
AN or AZ=1
Control Code Bit Management
CC
Unsigned
n/a
AC0=0
AC0=0 or AZ=1
) bit
CC
bit determines all
11-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents