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