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-24 HB103E - Rev. 05/45
TAR2
Transfer the contents from AR2 to...
-
ACCU1. 1
DBD a
0 to 8188
data double word. 2
DID a
0 to 8188
instance data double word. 2
LD a
0 to 1040
local data double word. 2
MD a
0 to 1020
bit memory double word. 2
TAR
Exchange the contents of AR1 and AR2 1
Load and transfer
instructions for the
status word
Status word
L STW
BR CC1 CC0 OV OS OR STA RLO /FC
Load status word in ACCU1.
-
Y Y Y Y Y 0 0 Y 0
- - - - -----
T STW
BR CC1 CC0 OV OS OR STA RLO /FC
Transfer ACCU1 (Bits 0 to 8) into status word.
-
- - - - -----
Y Y Y Y Y - - Y -
Load instructions for DB
number and DB length
Load the number/length of a data block to
CCU1. The old contents of ACCU1 are saved
into ACCU2. The condition code bits are not
affected
L DBNO
Load number of data block. 1
L DINO
Load number of instance data block. 1
L DBLG
Load length of data block into byte. 1
L DILG
Load length of instance data block into byte. 1
ACCU transfer instructions,
increment, decrement
The status word is not affected.
CAW -
Reverse the order of the bytes in ACCU1-L. 1
LL, LH becomes LH, LL.
CAD -
Reverse the order of the bytes in ACCU1. 1
LL, LH, HL, HH becomes HH, HL, LH, LL.
TAK -
Swap the contents of ACCU1 and ACCU2 1
PUSH -
The contents of ACCU1 are transferred to ACCU2. 1
POP -
The contents of ACCU2 are transferred to ACCU1. 1
INC 0 ... 255
Increment ACCU1-LL. 1
DEC 0 ... 255
Decrement ACCU1-LL. 1