![background image](http://html.mh-extra.com/html/hyundai/gms800/gms800_instruction-manual_2196205080.webp)
HYUNDAI MicroElectonics
76
6. CONTROL OPERATION & etc.
NO.
MNEMONIC
OP
CODE
BYTE
NO
CYCLE
NO
OPERATION
FLAG
NVGBHIZC
1
BRK
0F
1
8
Software interrupt : B
”
1
”
, M( SP)
( PC
H
), SP
SP - 1, M( s )
( PC
L
), SP
SP - 1, M( SP)
( PSW ), SP
SP -1, PC
L
( 0FFDE
H
) , PC
H
( 0FFDF
H
) .
---1-0--
2
DI
60
1
3
Disable interrupts : I
“
0
”
-----0--
3
EI
E0
1
3
Enable interrupts : I
“
1
”
-----1--
4
NOP
FF
1
2
No operation
--------
5
POP
A
0D
1
4
SP
SP
1, A
M( SP )
6
POP
X
2D
1
4
SP
SP
1, X
M( SP )
--------
7
POP
Y
4D
1
4
SP
SP
1, Y
M( SP )
8
POP PSW
6D
1
4
SP
SP
1, PSW
M( SP )
( restored )
9
PUSH A
0E
1
4
M( SP )
A , SP
SP
1
10
PUSH X
2E
1
4
M( SP )
X , SP
SP
1
--------
11
PUSH Y
4E
1
4
M( SP )
Y , SP
SP
1
12
PUSH PSW
6E
1
4
M( SP )
PSW , SP
SP
1
13
RET
6F
1
5
Return from subroutine
SP
SP +1, PC
L
M( SP ), SP
SP +1,
PC
H
M( SP )
--------
14
RETI
7F
1
6
Return from interrupt
SP
SP +1, PSW
M( SP ), SP
SP +1,
PC
L
M( SP ), SP
SP +1, PC
H
M( SP )
( restored )
15
STOP
00
1
3
Stop mode ( halt CPU, stop oscillator )
--------