Analog Devices adsp-2100 Manual page 355

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

Advertisement

ALU
15
PASS / CLEAR
operation (using any constant other than –1, 0, or 1) causes the ASTAT status
flags to be undefined.
The PASS constant operation (using any constant other than –1, 0, or 1) is only
available on the ADSP-217x, ADSP-218x, and ADSP-21msp58/59 processors and
may not be used in multifunction instructions.
Status Generated:
ASTAT:
AZ
AN
AV, AC Always cleared.
Note: The PASS constant operation (using any constant other than –1, 0, or 1)
causes the ASTAT status flags to be undefined.
Instruction Format:
Conditional ALU/MAC Operation, Instruction Type 9:
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
AMF specifies the ALU or MAC operation. In this case,
AMF = 10000 for PASS yop
AMF = 10011 for PASS xop
AMF = 10001 for PASS 1
AMF = 11000 for PASS –1
Note that PASS xop is a special case of xop + yop, with yop=0.
Note that PASS 1 is a special case of yop + 1, with yop=0.
Note that PASS –1 is a special case of yop – 1, with yop=0.
Z:
Xop:
Conditional ALU/MAC operation, Instruction Type 9:
(PASS constant; constant ≠ 0,1,–1)
(ADSP-217x, ADSP-218x, ADSP-21msp58/59 only)
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
AMF specifies the ALU or MAC operation. In this case,
AMF = 10000 for PASS yop
AMF = 10001 for PASS yop + 1
AMF = 11000 for PASS yop – 1
15 – 32
7
6
5
SS
MV AQ
Set if the result equals zero. Cleared otherwise.
Set if the result is negative. Cleared otherwise.
1
0
0
Z
Destination register
X operand
1
0
0
Z
AMF
4
3
2
1
AS
AC
AV
AN
0
0
*
AMF
Yop
Xop
Yop:
Y operand
COND: condition
YY
Xop
(special case of yop, with yop=constant)
(special case of yop + 1, with yop=constant)
(special case of yop – 1, with yop=constant)
0
AZ
*
0 0 0 0
COND
CC
BO
COND

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents