Not - Analog Devices adsp-2100 Manual

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

Advertisement

ALU
15

NOT

Note that –xop is a special case of yop – xop, with yop specified to be 0.
Z:
Xop:
Syntax:
Permissible xops
AX0
AX1
AR
Example:
Description:
logical complement (ones complement) of the source operand and store in
the destination location. If the condition is not true then perform a no-
operation. Omitting the condition performs the complement operation
unconditionally. The source operand is contained in the data register
specified in the instruction.
Status Generated:
ASTAT:
AZ
AN
AV
AC
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 = 10100 for NOT yop operation.
15 – 34
Destination register
X operand
[ IF cond ]
Permissible yops
MR2
AY0
MR1
AY1
MR0
AF
SR1
0
SR0
IF NE AF = NOT AX0;
Test the optional condition and if true, then perform the
7
6
5
SS MV AQ AS
Set if the result equals zero. Cleared otherwise.
Set if the result is negative. Cleared otherwise.
Always cleared.
Always cleared.
1
0
0
Z
Yop:
Y operand
COND: condition
AR
=
NOT
AF
Permissible conds (see Table 15.9)
EQ
NE
GT
GE
LT
4
3
2
1
AC AV AN AZ
0
0
AMF
Yop
Xop
xop
;
yop
LE
AC
NEG
NOT AC
POS
MV
AV
NOT MV
NOT AV NOT CE
0
*
*
0 0 0 0
COND

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents