HYUNDAI MicroElectonics
70
NO.
MNEMONIC
OP
CODE
BYTE
NO
CYCLE
NO
OPERATION
FLAG
NVGBHIZC
164
SET1 dp.bit
x1
2
4
Set bit : ( M.bit )
“
1
”
--------
165
SETA1 A.bit
0B
2
2
Set A bit : ( A.bit )
“
1
”
--------
166
SETC
A0
1
2
Set C-flag : C
“
1
”
-------1
167
SETG
C0
1
2
Set G-flag : G
“
1
”
--1-----
168
STA dp
E5
2
3
Store accumulator contents in memory
169
STA dp + X
E6
2
4
( M )
A
170
STA !abs
E7
3
4
171
STA !abs + Y
F5
3
5
--------
172
STA [ dp + X ]
F6
2
6
173
STA [ dp ] + Y
F7
2
6
174
STA { X }
F4
1
3
175
STA { X }+
FB
1
4
X- register auto-increment : ( M )
A, X
X
1
176
STC M.bit
EB
3
6
Store C-flag : ( M .bit )
C
--------
177
STOP
00
1
3
Stop mode ( halt CPU, stop oscillator )
--------
178
STX dp
EC
2
4
Store X-register contents in memory
179
STX dp + Y
ED
2
5
( M )
X
--------
180
STX !abs
FC
3
5
181
STY dp
E9
2
4
Store Y-register contents in memory
182
STY dp + X
F9
2
5
( M )
Y
--------
183
STY !abs
F8
3
5
184
STYA dp
DD
2
5
Store YA : ( dp +1 ) ( dp )
YA
--------
185
SUBW dp
3D
2
5
16-Bits subtract without carry : YA
( YA )
( dp +1) ( dp)
NV--H-ZC
186
TAX
E8
1
2
Transfer accumulator contents to X-register : X
A
N-----Z-
187
TAY
9F
1
2
Transfer accumulator contents to Y-register : Y
A
N-----Z-
188
TCALL n
nA
1
8
Table call :
M( SP)
( PC
H
), SP
SP - 1,
M( SP)
( PC
L
), SP
SP - 1,
PC
L
(Table vector L), PC
H
(Table vector H)
--------
189
TCLR1 !abs
5C
3
6
Test and clear bits with A :
A
( M ) , ( M )
( M )
( A )
N-----Z-
190
TSET1 !abs
3C
3
6
Test and set bits with A :
A
( M ) , ( M )
( M )
( A )
N-----Z-
191
TSPX
AE
1
2
Transfer stack-pointer contents to X-register : X
SP
N-----Z-
192
TST dp
4C
2
3
Test memory contents for negative or zero : ( dp )
00
H
N-----Z-
193
TXA
C8
1
2
Transfer X-register contents to accumulator: A
X
N-----Z-
194
TXSP
8E
1
2
Transfer X-register contents to stack-pointer: SP
X
N-----Z-
195
TYA
BF
1
2
Transfer Y-register contents to accumulator: A
Y
N-----Z-
196
XAX
EE
1
4
Exchange X-register contents with accumulator : X
A
--------
197
XAY
DE
1
4
Exchange Y-register contents with accumulator : Y
A
--------
198
XCN
CE
1
5
Exchange nibbles within the accumulator : A
7
∼
A
4
A
3
∼
A0
N-----Z-
199
XMA dp
BC
2
5
Exchange memory contents with accumulator
200
XMA dp+X
AD
2
6
( M )
A
N-----Z-
201
XMA {X}
BB
1
5
202
XYX
FE
1
4
Exchange X-register contents with Y-register : X
Y
--------