EasyManua.ls Logo

VIPA CPU 21 Series - Jump instructions

VIPA CPU 21 Series
394 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 12 Instruction list Manual VIPA CPU 21x
Command
Operand
Parameter
Status word
Function
Length
in
BR CC1 CC0 OV OS OR STA RLO /FC
words
: Instruction depends on
: Instruction influences
12-20 HB103E - Rev. 05/45
Instructions directly
affecting the RLO
Status word The following instructions have a directly effect
on the RLO.
CLR
BR CC1 CC0 OV OS OR STA RLO /FC
Set RLO to "0". 1
- - - - -----
- - - - - 0 0 0 0
SET
BR CC1 CC0 OV OS OR STA RLO /FC
Set RLO to "1". 1
- - - - -----
- - - - - 0 1 1 0
NOT
BR CC1 CC0 OV OS OR STA RLO /FC
Negate RLO. 1
- - - - - Y - Y -
- - - - - - 1 Y -
SAVE
BR CC1 CC0 OV OS OR STA RLO /FC
Save RLO into BR-Bit. 1
- - - - - - - Y -
Y - - - -----
Jump instructions
Jump instructions
Status word Jump, depending on conditions.
8-Bit operands have a jump width of
(-128...+127), 16-Bit operands of (-32768...-
129) or (+128...+32767)
JU LABEL
BR CC1 CC0 OV OS OR STA RLO /FC
Jump unconditionally. 1/2
- - - - -----
- - - - -----
JC LABEL
BR CC1 CC0 OV OS OR STA RLO /FC
Jump if RLO="1". 1/2
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"). 1/2
- - - Y -----
- - - - -----
JOS LABEL
BR CC1 CC0 OV OS OR STA RLO /FC
Jump on stored overflow (OS="1"). 2
- - - - Y - - - -
- - - - 0 - - - -

Table of Contents

Related product manuals