Table of Contents

Advertisement

Instruction Overview

MAX

General Form
dest_reg = MAX ( src_reg_0, src_reg_1 )
Syntax
Dreg = MAX ( Dreg , Dreg ) ;
Syntax Terminology
:
Dreg
R7–0
Instruction Length
In the syntax, comment (b) identifies 32-bit instruction length.
Functional Description
The Maximum instruction returns the maximum, or most positive, value
of the source registers. The operation subtracts
and selects the output based on the signs of the input values and the arith-
metic flags.
The Maximum instruction does not implicitly modify input values. The
can be the same D-register as one of the source registers. Doing
dest_reg
this explicitly modifies the source register.
Flags Affected
This instruction affects flags as follows.
is set if result is zero; cleared if nonzero.
AZ
is set if result is negative; cleared if non-negative.
AN
15-30
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
/* 32-bit operands (b) */
src_reg_1
from
src_reg_0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents