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-13
Block instructions
Block call instructions
Status word
CALL FB r, DB r
BR
CC1 CC0 OV OS OR STA RLO /FC
Unconditional call of a FB, with parameter transfer
1
- - - - - - - - -
CALL SFB r, DB r
- - - - 0 0 1 - 0 Unconditional call of a SFB, with parameter transfer
2
CALL FC
r
Unconditional call of a function, with parameter transfer
1
CALL SFC
r
Unconditional call of a SFC, with parameter transfer
2
UC FB
r
Unconditional call of blocks, without parameter
1
FC
r
transfer
Parameter
FB/FC call via parameters
CC FB
r
BR
CC1 CC0 OV OS OR STA RLO /FC
Conditional call of blocks, without parameter
1
FC
r
- - - - - - - Y - transfer
Parameter
- - - - 0 0 1 - 0 FB/FC call via parameters
OPN
BR
CC1 CC0 OV OS OR STA RLO /FC
DB
r
- - - - - - - - - Open a data block
1/2
DI
r
- - - - - - - - - Open a instance data block
2
Parameter
Open a data block via parameter
2
Block end instructions
Status word
BE
BR
CC1 CC0 OV OS OR STA RLO /FC
End block.
1
- - - - - - - - -
BEU
- - - - 0 0 1 - 0 End block unconditionally.
1
BEC
BR
CC1 CC0 OV OS OR STA RLO /FC
End block if RLO="1".
- - - - - - - Y -
- - - - Y 0 1 1 0
Exchanging shared data
block an instance data
block
Exchanging the two current data blocks. The
current shared data block becomes the current
instance data block and vice versa. The
condition code bits are not affected
CDB
Exchange shared data block and instant data block.
1