English
Language : 

GMS30004 Datasheet, PDF (30/158 Pages) Hynix Semiconductor – 4-BIT SINGLE CHIP MICROCOMPUTERS
Chapter 3. Instruction
Category Mnemonic
Function
26
27 Arithmetic
DY
EORM
Y à Y-1
A à A + M (X,Y)
28
NEGA
A à A+1
29
ALEM
TEST A õ M(X,Y)
30
ALEI i
TEST A õ i
31
MNEZ
TEST M(X,Y) ó 0
32 Comparison
YNEA
TEST Y ó A
33
YNEI i
TEST Y ó i
34
KNEZ
TEST K ó 0
35
RNEZ
TEST R ó 0
36
LAK
AàK
37
Input /
38
Output
LAR
SO
AàR
Output(Y) à 1*2
39
RO
Output(Y) à 0*2
40
WDTR
Watch Dog Timer Reset
41
Control
42
STOP
LPY
Stop operation
PMR à Y
43
NOP
No operation
ST*1
B
S
Z
E
E
N
N
N
N
N
S
S
S
S
S
S
S
S
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.
3- 3