[Prev] [Next] [Contents] [Commodore] [New] [Search] [Home]

ADC

Add memory to accumulator with carry

ADC

Operation: A + M + C → A, C N Z C I D V
/ / / _ _ /
(Ref: 2.2.1)
Addressing ModeAssembly Language FormOP CODENo. BytesNo. Cycles
Immediate ADC # Oper 69 2 2
Zero Page ADC Oper 65 2 3
Zero Page, X ADC Oper, X 75 2 4
Absolute ADC Oper 6D 3 4
Absolute, X ADC Oper, X 7D 3 4*
Absolute, Y ADC Oper, Y 79 3 4*
(Indirect, X) ADC (Oper, X) 61 2 6
(Indirect), Y ADC (Oper), Y 71 2 5*
* Add 1 if page boundary is crossed.

AND

"AND" memory with accumulator

AND

Operation: A ∧ M → A N Z C I D V
/ / _ _ _ _
(Ref: 2.2.3.0)
Addressing ModeAssembly Language FormOP CODENo. BytesNo. Cycles
Immediate AND # Oper 29 2 2
Zero Page AND Oper 25 2 3
Zero Page, X AND Oper, X 35 2 4
Absolute AND Oper 2D 3 4
Absolute, X AND Oper, X 3D 3 4*
Absolute, Y AND Oper, Y 39 3 4*
(Indirect, X) AND (Oper, X) 21 2 6
(Indirect, Y) AND (Oper), Y 31 2 5
* Add 1 if page boundary is crossed.


[Prev] [Next] [Contents] [Commodore] [New] [Search] [Home]
This page has been created by Sami Rautiainen.
Read the small print. Last updated December 07, 2002.