Increment - Analog Devices adsp-2100 Manual

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

Advertisement

ALU
15

INCREMENT

Z:
Xop:
Syntax:
Permissible yops
AY0
AY1
AF
Example:
Description:
source operand by H#0001 and store in the destination location. If the
condition is not true then perform a no-operation. Omitting the condition
performs the increment 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 = 10001 for yop + 1 operation.
Note that the xop field is ignored for the increment operation.
15 – 36
Destination register
X operand
[ IF cond ]
AR
AF
Permissible conds (see Table 15.9)
EQ LE
NE NEG
GT POS
GE AV
LT NOT AV
IF GT AF = AF + 1;
Test the optional condition and if true, then increment the
7
6
5
SS MV AQ AS
Set if the result equals zero. Cleared otherwise.
Set if the result is negative. Cleared otherwise.
Set if an overflow is generated. Cleared otherwise.
Set if a carry is generated. Cleared otherwise.
1
0
0
Z
COND: condition
= yop + 1 ;
AC
NOT AC
MV
NOT MV
NOT CE
4
3
2
1
AC AV AN AZ
*
*
*
AMF
Yop
0
*
Xop
0 0 0 0
COND

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents