![background image](http://html.mh-extra.com/html/hyundai/gms800/gms800_instruction-manual_2196205073.webp)
Appendix
69
NO.
MNEMONIC
OP
CODE
BYTE
NO
CYCLE
NO
OPERATION
FLAG
NVGBHIZC
124
MUL
5B
1
9
Multiply : YA
Y
A
N-----Z-
125
NOP
FF
1
2
No operation
--------
126
NOT1 M.bit
4B
3
5
Bit complement : ( M .bit )
( M .bit )
--------
127
OR #imm
64
2
2
Logical OR
128
OR dp
65
2
3
A
( A )
( M )
129
OR dp + X
66
2
4
130
OR !abs
67
3
4
N-----Z-
131
OR !abs + Y
75
3
5
132
OR [ dp + X ]
76
2
6
133
OR [ dp ] + Y
77
2
6
134
OR { X }
74
1
3
135
OR1 M.bit
6B
3
5
Bit OR C-flag : C
( C )
( M .bit )
-------C
136
OR1B M.bit
6B
3
5
Bit OR C-flag and NOT : C
( C )
~( M .bit )
-------C
137
PCALL
4F
2
6
U-page call : M( SP)
( PC
H
), SP
SP - 1, M( SP)
( PC
L
), SP
SP - 1, PC
L
( upage ), PC
H
”
0FF
H
”
.
--------
138
POP A
0D
1
4
Pop from stack
139
POP X
2D
1
4
SP
SP
1, Reg.
M( SP )
--------
140
POP Y
4D
1
4
141
POP PSW
6D
1
4
( restored )
142
PUSH A
0E
1
4
Push to stack
143
PUSH X
2E
1
4
M( SP )
Reg. , SP
SP
1
--------
144
PUSH Y
4E
1
4
145
PUSH PSW
6E
1
4
146
RET
6F
1
5
Return from subroutine :
SP
SP +1, PC
L
M( SP ), SP
SP +1, PC
H
M( SP )
--------
147
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 )
148
ROL A
28
1
2
Rotate left through carry
149
ROL dp
29
2
4
C
7 6 5 4 3 2 1 0
N-----ZC
150
ROL dp + X
39
2
5
151
ROL !abs
38
3
5
152
ROR A
68
1
2
Rotate right through carry
153
ROR dp
69
2
4
7 6 5 4 3 2 1 0 C
N-----ZC
154
ROR dp + X
79
2
5
155
ROR !abs
78
3
5
156
SBC #imm
24
2
2
Subtract with carry
157
SBC dp
25
2
3
A
( A )
( M )
~( C )
158
SBC dp + X
26
2
4
159
SBC !abs
27
3
4
NV--HZC
160
SBC !abs + Y
35
3
5
161
SBC [ dp + X ]
36
2
6
162
SBC [ dp ] + Y
37
2
6
163
SBC { X }
34
1
3