Adam 821x Manual page 223

Table of Contents

Advertisement

CPU ADAM 821x
Command
Operand
Parameter
Evaluating Conditions
Using AND, OR and
EXCLUSIVE OR
A
==0
>0
<0
<>0
<=0
>=0
UO
OS
BR
OV
AN
==0
>0
<0
<>0
<=0
>=0
UO
OS
BR
OV
O
==0
>0
<0
<>0
<=0
>=0
UO
OS
BR
OV
ADAM 8000 Manual CPU 821x – Rev 1.1
Status word
BR CC1 CC0 OV OS OR STA RLO /FC
Status word
BR CC1 CC0 OV OS OR STA RLO /FC
Y Y Y Y Y Y - Y Y Result=0
-
-
-
-
- Y Y Y 1 Result>0
BR CC1 CC0 OV OS OR STA RLO /FC
Y Y Y Y Y Y - Y Y Result=0
-
-
-
-
- Y Y Y 1 Result>0
BR CC1 CC0 OV OS OR STA RLO /FC
Y Y Y Y Y -
- Y Y Result=0
-
-
-
-
- 0 Y Y 1 Result>0
Function
: Instruction depends on
: Instruction influences
Examining the specified conditions for their
signal status, and gating the result with the
RLO according to the appropriate function.
AND operation at signal state "1"
(CC1=0) and (CC0=0)
(CC1=1) and (CC0=0)
Result<0
(CC1=0) and (CC0=1)
Result≠0
((CC1=0) and (CC0=1)) or ((CC1=1) and (CC0=0))
Result<=0 ((CC1=0) and (CC0=1)) or ((CC1=0) and (CC0=0))
Result>=0 ((CC1=1) and (CC0=0)) or ((CC1=1) and (CC0=0))
unordered math instruction (CC1=1) and (CC0=1)
OS=1
BR=1
OV=1
AND operation at signal state "0"
(CC1=0) and (CC0=0)
(CC1=1) and (CC0=0)
Result<0
(CC1=0) and (CC0=1)
Result≠0
((CC1=0) and (CC0=1)) or ((CC1=1) and (CC0=0))
Result<=0 ((CC1=0) and (CC0=1)) or ((CC1=0) and (CC0=0))
Result>=0 ((CC1=1) and (CC0=0)) or ((CC1=1) and (CC0=0))
unordered math instruction (CC1=1) and (CC0=1)
OS=0
BR=0
OV=0
OR operation at signal state "1"
(CC1=0) and (CC0=0)
(CC1=1) and (CC0=0)
Result<0
(CC1=0) and (CC0=1)
Result≠0
((CC1=0) and (CC0=1)) or ((CC1=1) and (CC0=0))
Result<=0 ((CC1=0) and (CC0=1)) or ((CC1=0) and (CC0=0))
Result>=0 ((CC1=1) and (CC0=0)) or ((CC1=1) and (CC0=0))
unordered math instruction (CC1=1) and (CC0=1)
OS=1
BR=1
OV=1
Chapter 9 Instruction list
Length
in
words
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
8-31

Advertisement

Table of Contents
loading

Table of Contents