Commodore 64 Handbook page 65

Table of Contents

Advertisement

EOR
Exclusive-OR Memory with Accumulator
Operation: A V M -> A
N Z C I D V
y y -----
Addressing
Mode
Assem bly Language
Form
OP
CODE
No.
Bytes
No.
Cycles
Im m ediate
EO R
# d d
49
2
2
Z ero Page
EO R
aa
45
2
3
Z ero Page, X
EO R
aa,X
55
2
4
A b so lu te
EO R
aaaa
4D
3
4
A b so lu te , X
EO R
aaa a,X
5D
3
4 *
A b so lu te, Y
EO R
a aa a,Y
59
3
4 *
(In direct, X)
EO R
(aa,X)
41
2
6
(In direct), Y
EO R
(aa),Y
51
2
5*
*Add 1 if page boundary is crossed.
INC
Increment Memory by One
Operation: M + 1 -> M
N Z C I D V
y y -----
Addressing
Mode
Assem bly Language
Form
OP
CODE
No.
Bytes
No.
Cycles
Z ero Page
IN C
aa
E6
2
5
Z ero Page, X
IN C
a a ,X
F6
2
6
A b so lu te
IN C
aaaa
EE
3
6
A b so lu te, X
IN C
aaa a,X
FE
3
7
INX
Increment Index X by One
Operation: X + 1 -» X
N Z C I D V
/ / ---------
Addressing
Mode
Assem bly Language
Form
OP
C O D E
No.
Bytes
No.
Cycles
Im plied
IN X
E8
1
2
63

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Commodore 64

Table of Contents