Manual VIPA CPU 21x Chapter 12 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
HB103E - Rev. 05/45 12-33
Combination instructions (Word)
Combination instructions
with the contents of ACCU1
Status word Gating the contents of ACCU1 and/or ACCU1-L
with a word or double word according to the
appropriate function.
The word or double word is either a constant in
the instruction or in ACCU2. The result is in
ACCU1 and/or ACCU1-L.
AW
BR CC1 CC0 OV OS OR STA RLO /FC
AND ACCU2-L 1
AW k16
- - - - - - - - - AND 16Bit constant 2
OW
- Y 0 0 -----OR ACCU2-L 1
OW k16
OR 16Bit constant 2
XOW
EXCLUSIVE OR ACCU2-L 1
XOW k16
EXCLUSIVE OR 16Bit constant 2
AD
AND ACCU2 1
AD k32
AND 32Bit constant 3
OD
OR ACCU2 1
OD k32
OR 32Bit constant 3
XOD
EXCLUSIVE OR ACCU2 1
XOD k32
EXCLUSIVE OR 32Bit constant 3
Timer instructions
Time instructions
Status word Starting or resetting a timer (addressed directl
or via parameters).
The time value must be in ACCU1-L.
SP T f
0 to 255
BR CC1 CC0 OV OS OR STA RLO /FC
Start time as pulse on edge change from "0" to "1". 1/2
Timer
para.
- - - - - - - Y - 2
SE T f
0 to 255
- - - - - 0 - - 0 Start timer as extended pulse on edge change from 1/2
Timer
para.
"0" to "1". 2
SD T f
0 to 255
Start timer as ON delay on edge change 1/2
Timer
para.
from "0" to "1". 2
SS T f
0 to 255
Start timer as saving start delay on edge change 1/2
Timer
para.
from "0" to "1". 2
SA T f
0 to 255
Start timer as OFF delay on edge change from 1/2
Timer
para.
"1" to "0". 2
FR T f
0 to 255
Enable timer for restarting on edge change from "0" to "1" 1/2
Timer
para.
(reset edge bit memory for starting timer). 2
R T f
0 to 255
Reset timer. 1/2
Timer
para.
2