EasyManua.ls Logo

Commodore 64 - Page 63

Commodore 64
101 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CMP
Compare Memory and Accumulator
Operation: A M
XZCIDV
y yy
---
Addressing
Mode
Assembly Language
Form
OP
CODE
No.
Bytes
No.
Cycles
Immediate
CMP
# d d C9
2
2
Zero Page
CMP
aa
C5
2
3
Zero Page, X
CMP
aa,X
D5 2
4
Absolute CMP
aaaa CD
3
4
Absolute, X
CMP
aaaa,X
DD
3
4*
Absolute, Y
CMP
aaaa,Y
D9
3
4*
(Indirect, X)
CMP
(aa,X)
C l 2
6
(Indirect), Y
CMP (aa),Y
D1 2 5*
*Add 1 if page boundary is crossed.
CPX
Compare Memory and Index X
Operation: X M
XZCIDV
y yy
----
Addressing
Mode
Assembly Language
Form
OP
CODE
No.
Bytes
No.
Cycles
Immediate CPX # d d
EO
2
2
Zero Page
CPX aa E4
2
3
Absolute
CPX aaaa EC 3
4
CPY
Compare Memory and Index Y
Operation: Y M
XZCIDV
J J J------
Addressing
Mode
Assembly Language
Form
OP
CODE
No.
Bytes
No.
Cycles
Immediate
CPY # d d
CO 2 2
Zero Page
CPY aa C4
2 3
Absolute
CPY aaaa CC
3
4
61

Other manuals for Commodore 64

Related product manuals