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