CPU ADAM 821x
Chapter 9 Instruction list
Command
Operand
Parameter
Status word
Function
Length
in
BR
CC1 CC0 OV OS OR STA RLO /FC
words
: Instruction depends on
: Instruction influences
ADAM 8000 Manual CPU 821x – Rev 1.1
8-21
Jump instructions
Jump instructions
Status word
Jump, depending on conditions.
Please note that the jump destination always
forms the
beginning
of a Boolean logic string
in the case of jump instructions. The jump
destination must not be included in the logic
string.
JU LABEL
BR
CC1 CC0 OV OS OR STA RLO /FC
Jump unconditionally.
½
- - - - - - - - -
- - - - - - - - -
JC LABEL
BR
CC1 CC0 OV OS OR STA RLO /FC
Jump if RLO="1".
½
JCN LABEL
- - - - - - - Y - Jump if RLO="0".
2
- - - - - 0 1 1 0
JCB LABEL
BR
CC1 CC0 OV OS OR STA RLO /FC
Jump if RLO="1".
2
- - - - - - - Y - Save the RLO in the BR-Bit
JNB LABEL
Y - - - - 0 1 1 0 Jump if RLO="0".
2
Save the RLO in the BR-Bit
JBI LABEL
BR
CC1 CC0 OV OS OR STA RLO /FC
Jump if BR="1".
2
JNBI LABEL
Y - - - - - - - - Jump if BR="0".
2
- - - - - 0 1 - 0
JO LABEL
BR
CC1 CC0 OV OS OR STA RLO /FC
Jump on stored overflow (OV="1").
½
- - - Y - - - - -
- - - - - - - - -
JOS LABEL
BR
CC1 CC0 OV OS OR STA RLO /FC
Jump on stored overflow (OS="1").
2
- - - - Y - - - -
- - - - 0 - - - -
JUO LABEL
BR
CC1 CC0 OV OS OR STA RLO /FC
Jump if "unordered instruction" (CC1=1 and CC0=1).
2
JZ LABEL
- Y Y - - - - - - Jump if result=0 (CC1=0 and CC0=0).
½
JP LABEL
- - - - - - - - - Jump if result>0 (CC1=1 and CC0=0).
½
JM LABEL
Jump if result<0 (CC1=0 and CC0=1).
½
JN LABEL
Jump if result
≠
0.
½
(CC1=1 and CC0=0) or (CC1=0) and (CC0=1)
JMZ LABEL
Jump if result
≤
0.
2
(CC1=0 and CC0=1) or (CC1=0 and CC0=0)
JPZ LABEL
Jump if result
≥
0.
2
(CC1=1 and CC0=0) or (CC1=0 and CC0=0)