Chapter 9 Instruction list
CPU ADAM 821x
Command
Operand
Parameter
Status word
Function
Length
in
BR
CC1 CC0 OV OS OR STA RLO /FC
words
: Instruction depends on
: Instruction influences
8-26
ADAM 8000 Manual CPU 821x – Rev 1.1
Comparison instructions
Comparison instructions
with integer (16Bit)
Status word
Comparing the integer (16Bit) in ACCU1-L and
ACCU2-L. RLO=1, if condition is satisfied.
==I -
BR
CC1 CC0 OV OS OR STA RLO /FC
ACCU2-L=ACCU1-L
1
<>I -
- - - - - - - - - ACCU2-L
≠
ACCU1-L
1
<I -
- Y Y 0 - 0 Y Y 1 ACCU2-L<ACCU1-L
1
<=I -
ACCU2-L<=ACCU1-L
1
>I -
ACCU2-L>ACCU1-L
1
>=I -
ACCU2-L>=ACCU1-L
1
Comparison instructions
with integer (32Bit)
Status word
Comparing the integer (32Bit) in ACCU1 and
ACCU2. RLO=1, if condition is satisfied.
==D -
BR
CC1 CC0 OV OS OR STA RLO /FC
ACCU2=ACCU1
1
<>D -
- - - - - - - - - ACCU2
≠
ACCU1
1
<D -
- Y Y 0 - 0 Y Y 1 ACCU2<ACCU1
1
<=D -
ACCU2<=ACCU1
1
>D -
ACCU2>ACCU1
1
>=D -
ACCU2>=ACCU1
1
Comparison instructions
with 32Bit real number
Status word
Comparing the 32Bit real numbers in ACCU1
and ACCU2. RLO=1, is condition is satisfied.
The execution time of the instruction depends
on the value to be compared.
==R -
BR
CC1 CC0 OV OS OR STA RLO /FC
ACCU2=ACCU1
1
<>R -
- - - - - - - - - ACCU2
≠
ACCU1
1
<R -
- Y Y Y Y 0 Y Y 1 ACCU2<ACCU1
1
<=R -
ACCU2<=ACCU1
1
>R -
ACCU2>ACCU1
1
>=R -
ACCU2>=ACCU1
1