Chapter 5. INSTRUCTION
Category Mnemonic
Function
ST*1
B
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
DY
Y
A
A
Y - 1
Arithmetic
EORM
NEGA
ALEM
ALEI i
MNEZ
YNEA
YNEI i
KNEZ
RNEZ
LAK
A + M (X,Y)
A + 1
S
Z
TEST A M(X,Y)
TEST A
TEST M(X,Y)
E
i
E
0
N
Comparison
TEST Y
TEST Y
TEST K
TEST R
A
i
N
N
0
0
N
N
A
A
K
R
S
LAR
S
Input /
Output
SO
Output
Output
0 at GMS36XXX, 1 at GMS37XXX
1 at GMS36XXX, 0 at GMS37XXX
S
S
S
S
S
S
RO
WDTR
STOP
LPY
Watch Dog Timer Reset
Stop operation
Control
PMR
Y
NOP
No operation
Note) i = 0~f, n = 0~3, a = 6bit PC Address
*1 Column ST indicates conditions for changing status. Symbols have the following
meanings
S : On executing an instruction, status is unconditionally set.
C : Status is only set when carry or borrow has occurred in operation.
B : Status is only set when borrow has not occurred in operation.
E : Status is only set when equality is found in comparison.
N : Status is only set when equality is not found in comparison.
Z : Status is only set when the result is zero.
5-3