Commodore 64 Handbook page 57

Table of Contents

Advertisement

ADC
Add to Accumulator with Carry
Operation: A | M + C-> A, C
N Z C I D V
J J J - - J
Addressing
Mode
Assem bly Language
Form
OP
CO DE
No.
Bytes
No.
Cycles
Im m ediate
A D C
# d d
69
2
2
Z ero Page
A D C
aa
65
2
3
Z ero Page, X
A D C
aa,X
75
2
4
A b so lu te
A D C
aaaa
6D
3
4
A b so lu te , X
A D C
aaa a,X
7D
3
4*
A b so lu te, Y
A D C
aaa a,Y
79
3
4 *
(In direct, X )
A D C
(aa,X )
61
2
6
(Indirect), Y
A D C
(aa),Y
71
2
5 *
•A d d 1 if page b o u nd ary is crossed .
AND
AN D Memory with Accumulator
Logical
a n d
to the accumulator
Operation: A A M -» A
N Z C I D V
y /----
Addressing
Mode
Assem bly Language
Form
OP
C O D E
No.
Bytes
No.
Cycles
Im m ediate
A N D
# d d
29
2
2
Z e ro Page
A N D
aa
25
2
3
Z e ro P age, X
A N D
aa,X
35
2
4
A b so lu te
A N D
aaaa
2D
3
4
A b so lu te , X
A N D
aaa a,X
3D
3
4 *
A b so lu te , Y
A N D
aaa a,Y
39
3
4 *
(In d irect, X )
A N D
(aa,X)
21
2
6
(Indirect), Y
A N D
(aa),Y
31
2
5 *
• A d d 1 if p ag e bo u n d a ry is cro ssed .
55

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Commodore 64

Table of Contents