Hyundai GMS800 Instruction Manual page 77

Gms800 series 8-bit single-chip microcomputers
Table of Contents

Advertisement

2. REGISTER / MEMORY OPERATION
NO.
MNEMONIC
1
LDA #imm
2
LDA dp
3
LDA dp + X
4
LDA !abs
5
LDA !abs + Y
6
LDA [ dp + X ]
7
LDA [ dp ] + Y
8
LDA { X }
9
LDA { X }+
10
LDM dp,#imm
11
LDX #imm
12
LDX dp
13
LDX dp + Y
14
LDX !abs
15
LDY #imm
16
LDY dp
17
LDY dp + X
18
LDY !abs
19
STA dp
20
STA dp + X
21
STA !abs
22
STA !abs + Y
23
STA [ dp + X ]
24
STA [ dp ] + Y
25
STA { X }
26
STA { X }+
27
STX dp
28
STX dp + Y
29
STX !abs
30
STY dp
31
STY dp + X
32
STY !abs
33
TAX
34
TAY
35
TSPX
36
TXA
37
TXSP
38
TYA
39
XAX
40
XAY
41
XMA dp
42
XMA dp+X
43
XMA {X}
44
XYX
OP
BYTE
CYCLE
CODE
NO
NO
C4
2
2
Load accumulator
C5
2
3
C6
2
4
C7
3
4
D5
3
5
D6
2
6
D7
2
6
D4
1
3
DB
1
4
X- register auto-increment : A
E4
3
5
Load memory with immediate data : ( M )
1E
2
2
Load X-register
CC
2
3
CD
2
4
DC
3
4
3E
2
2
Load Y-register
C9
2
3
D9
2
4
D8
3
4
E5
2
3
Store accumulator contents in memory
E6
2
4
E7
3
4
F5
3
5
F6
2
6
F7
2
6
F4
1
3
FB
1
4
X- register auto-increment : ( M )
EC
2
4
Store X-register contents in memory
ED
2
5
FC
3
5
E9
2
4
Store Y-register contents in memory
F9
2
5
F8
3
5
E8
1
2
Transfer accumulator contents to X-register : X
9F
1
2
Transfer accumulator contents to Y-register : Y
AE
1
2
Transfer stack-pointer contents to X-register : X
C8
1
2
Transfer X-register contents to accumulator: A
8E
1
2
Transfer X-register contents to stack-pointer: SP
BF
1
2
Transfer Y-register contents to accumulator: A
EE
1
4
Exchange X-register contents with accumulator :X
DE
1
4
Exchange Y-register contents with accumulator :Y
BC
2
5
Exchange memory contents with accumulator
AD
2
6
BB
1
5
FE
1
4
Exchange X-register contents with Y-register : X
OPERATION

A
( M )


X
( M )

Y
( M )

( M )
A

( M )
X

( M )
Y
( M )
A
FLAG
NVGBHIZC
N-----Z-


( M ) , X
X
1

--------
imm
N-----Z-
N-----Z-
--------



A, X
X
1
--------
--------

A N-----Z-

N-----Z-
A

SP N-----Z-

N-----Z-
X

X N-----Z-

N-----Z-
Y
A --------
A --------
N-----Z-
Y --------
Appendix
73

Advertisement

Table of Contents
loading

Table of Contents