Modify Flag Out Pin - Analog Devices adsp-2100 Manual

Adsp-2100 family programmable single-chip microprocessors
Table of Contents

Advertisement

PROGRAM FLOW
15

MODIFY FLAG OUT PIN

Syntax:
Example:
Description:
reset to zero, or toggle the state of the specified flag output pin(s).
Otherwise perform a no-operation and continue with the next instruction.
Omitting the condition performs the operation unconditionally. Multiple
flags may be modified by including multiple clauses, separated by
commas, in a single instruction. This instruction does not directly alter the
flow of your program—it is provided to signal external devices.
(Note that the FO pin is specified by "FLAG_OUT" in the instruction
syntax.)
The following table shows which flag outputs are present on each
ADSP-21xx processor:
processor
ADSP-2101
ADSP-2105
ADSP-2115
ADSP-2111
ADSP-217x
ADSP-218x
ADSP-21msp5x
Status Generated:
Instruction Field:
Flag Out Mode Control Instruction Type 28:
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0
0
FO: Operation to perform
on flag output pin
15 – 78
[ IF cond ]
SET
RESET
TOGGLE
IF MV SET FLAG_OUT, RESET FL1;
Evaluate the optional condition and if true, set to one,
flag pin(s)
FO
FO
FO
FO, FL0, FL1, FL2
FO, FL0, FL1, FL2
FO, FL0, FL1, FL2
FO, FL0, FL1, FL2
None affected.
0
0
0
0
1
0
FLAG_OUT
FL0
FL1
FL2
0
0
0
0
FO
FL2
FL1
COND: Condition code
[, ...] ;
FO
FO
FO
COND
FL0
FLAG_OUT

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents