Analog Devices adsp-2100 Manual page 338

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

Advertisement

Instruction Set Reference
Program Flow Control Instructions
[IF condition]
JUMP
IF
FLAG_IN
NOT FLAG_IN
[IF condition]
CALL
IF
FLAG_IN
NOT FLAG_IN
[IF condition]
RTS ;
[IF condition]
RTI ;
DO <address> [UNTIL termination] ;
IDLE [(n)];
Table 15.8 Program Flow Control Instructions
Syntax
Status Condition
EQ
Equal Zero
NE
Not Equal Zero
LT
Less Than Zero
GE
Greater Than or Equal Zero
LE
Less Than or Equal Zero
GT
Greater Than Zero
AC
ALU Carry
NOT AC
Not ALU Carry
AV
ALU Overflow
NOT AV
Not ALU Overflow
MV
MAC Overflow
NOT MV
Not MAC Overflow
NEG
X Input Sign Negative
POS
X Input Sign Positive
NOT CE
Not Counter Expired
FLAG_IN*
FI pin
NOT FLAG_IN*
Not FI pin
Table 15.9 IF Condition Codes
* Only available on JUMP and CALL instructions
(I4)
;
(I5)
(I6)
(I7)
<address>
JUMP
<address> ;
(I4)
;
(I5)
(I6)
(I7)
<address>
CALL
<address> ;
True If:
AZ = 1
AZ = 0
AN .XOR. AV = 1
AN .XOR. AV = 0
(AN .XOR. AV) .OR. AZ = 1
(AN .XOR. AV) .OR. AZ = 0
AC = 1
AC = 0
AV = 1
AV = 0
MV = 1
MV = 0
AS = 1
AS = 0
Last sample of FI pin = 1
Last sample of FI pin = 0
15
15 – 15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents