ST20-GP1
6.3 Instruction set tables
Function
code
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
Memory
code
0X
1X
2X
3X
4X
5X
6X
7X
8X
9X
AX
BX
CX
DX
EX
FX
Mnemonic
Processor Name
cycles
j
7
jump
ldlp
1
load local pointer
pfix
0 to 3
prefix
ldnl
1
load non-local
ldc
1
load constant
ldnlp
nfix
1
0 to 3
load non-local pointer
negative prefix
ldl
1
load local
adc
2 to 3
add constant
call
8
call
cj
1 or 7
conditional jump
ajw
2
adjust workspace
eqc
1
equals constant
stl
1
store local
stnl
2
store non-local
opr
0
operate
Table 6.3 Primary functions
Memory Mnemonic
code
Processor Name
cycles
22FA testpranal
1
test processor analyzing
23FE saveh
3
save high priority queue registers
23FD savel
3
save low priority queue registers
21F8 sthf
1
store high priority front pointer
25F0 sthb
1
store high priority back pointer
21FC stlf
1
store low priority front pointer
21F7 stlb
1
store low priority back pointer
25F4 sttimer
2
store timer
2127FC lddevid
1
load device identity†
27FE ldmemstartval
†See Section 22
1
load value of MemStart address
Table 6.4 Processor initialization operation codes
Notes
D, T
O
Notes
36/116
®