Chapter 5. INSTRUCTION
INSTRUCTION TABLE
The GMS36/37XXX(T) series provides the following 43 basic instructions.
Category Mnemonic
Function
ST*1
S
S
S
S
S
S
S
S
S
S
S
S
S
E
S
S
S
S
C
B
C
B
S
C
B
1
LAY
LYA
LAZ
A
Y
A
Y
A
0
Register to
Register
2
3
4
LMA
LMAIY
LYM
LAM
XMA
LYI i
LMIIY i
LXI n
SEM n
REM n
TM n
BR a
CAL a
RTN
LPBI i
AM
M(X,Y)
M(X,Y)
A
5
A, Y
M(X,Y)
M(X,Y)
Y+1
RAM to
Register
6
Y
A
A
Y
7
8
M(X,Y)
i
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
M(X,Y)
i, Y
Y+1
Immediate
X
n
M(n)
M(n)
1
RAM Bit
Manipulation
0
TEST M(n) = 1
if ST = 1 then Branch
if ST = 1 then Subroutine call
Return from Subroutine
ROM
Address
PB
A
i
A + M(X,Y)
M(X,Y) - A
M(X,Y) + 1
M(X,Y) - 1
A + 1
SM
A
IM
A
Arithmetic
DM
A
IA
A
IY
Y
Y + 1
DA
A
A - 1
5-2