Chapter 9 Instruction list
CPU ADAM 821x
Command
Operand
Parameter
Status word
Function
Length
in
BR
CC1 CC0 OV OS OR STA RLO /FC
words
: Instruction depends on
: Instruction influences
8-16
ADAM 8000 Manual CPU 821x – Rev 1.1
L
Load ...
ID a 0 to 124
input double word.
1/2
QD
a 0 to 124
output double word.
1/2
PID
a 0 to 1020
periphery input double word.
2
MD
a 0 to 1020
bit memory double word.
1/2
LD
a 0 to 1040
local data double word.
2
DBD
a 0 to 8188
data double word.
2
DID
a 0 to 8188
instance data double word.
2
... in ACCU1-L.
i
[AR1,m]
register-indirect, area-internal (AR1)
2
i
[AR2,m]
register-indirect, area-internal (AR2)
2
D
[AR1,m]
area-crossing (AR1)
2
D
[AR2,m]
area-crossing (AR2)
2
Parameter
via parameters
2
L
Load ...
k8
8Bit constant in ACCU1-LL.
1
k16
16Bit constant in ACCU1-L.
2
k32
32Bit constant in ACCU1.
3
Parameter
Load constant in ACCU1 (addressed via parameters)
2
L
2
#
n
Load 16Bit binary constant in ACCU1-L.
2
Load 32Bit binary constant in ACCU1.
3
L
B
#
8
#
p
Load 8Bit hexadecimal constant in ACCU1-LL.
1
W
#
16
#
p
Load 16Bit hexadecimal constant in ACCU1-L.
2
DW
#
16
#
p
Load 32Bit hexadecimal constant in ACCU1.
3
L x
Load one character.
L xx
Load two characters.
2
L xxx
Load three characters.
L xxxx
Load four characters.
3
L
D
#
Date
Load IEC-date (BCD-coded).
3
L
S5T
#
time value
Load time constant (16Bit).
2
L
TOD
#
time value
Load 32Bit time constant.
(IEC-time-of-day)
3
L
T
#
time
Load 16Bit time constant.
2
value
Load 32Bit time constant.
3
L
C
#
counter
value
Load 16Bit counter constant.
2
L
P
#
bit
pointer
Load bit pointer.
3
L
L
#
Integer
Load 32Bit integer constant.
3
L Real
Load real number.
3