Block Instructions - Adam 821x Manual

Table of Contents

Advertisement

CPU ADAM 821x
Command
Operand
Parameter
Block call instructions
CALL
FB r, DB r
CALL
SFB r, DB r
CALL
FC r
CALL
SFC r
UC
FB r
FC r
Parameter
CC
FB r
FC r
Parameter
OPN
DB r
DI r
Parameter
Block end instructions
BE
BEU
BEC
Exchanging shared data
block an instance data
block
CDB
ADAM 8000 Manual CPU 821x – Rev 1.1
Status word
BR CC1 CC0 OV OS OR STA RLO /FC

Block instructions

Status word
BR CC1 CC0 OV OS OR STA RLO /FC
-
-
-
-
-
-
-
-
-
-
- 0 0 1 - 0 Unconditional call of a SFB, with parameter transfer
BR CC1 CC0 OV OS OR STA RLO /FC
-
-
-
-
-
-
- Y - transfer
-
-
-
- 0 0 1 - 0 FB/FC call via parameters
BR CC1 CC0 OV OS OR STA RLO /FC
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Status word
BR CC1 CC0 OV OS OR STA RLO /FC
-
-
-
-
-
-
-
-
-
-
- 0 0 1 - 0 End block unconditionally.
BR CC1 CC0 OV OS OR STA RLO /FC
-
-
-
-
-
-
- Y -
-
-
-
- Y 0 1 1 0
: Instruction depends on
: Instruction influences
Unconditional call of a FB, with parameter transfer
-
-
Unconditional call of a function, with parameter transfer
Unconditional call of a SFC, with parameter transfer
Unconditional call of blocks, without parameter
transfer
FB/FC call via parameters
Conditional call of blocks, without parameter
-
- Open a data block
-
- Open a instance data block
Open a data block via parameter
End block.
-
-
End block if RLO="1".
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
Exchange shared data block and instant data block.
Chapter 9 Instruction list
Function
Length
in
words
1
2
1
2
1
1
1/2
2
2
1
1
1
8-13

Advertisement

Table of Contents
loading

Table of Contents