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