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

EOR

EOR "Exclusive-Or" memory with accumulator

EOR

Operation: A ∀ M → A N Z C I D V
/ / _ _ _ _
(Ref: 2.2.3.2)
Addressing ModeAssembly Language FormOP CODENo. BytesNo. Cycles
Immediate EOR #Oper 49 2 2
Zero Page EOR Oper 45 2 3
Zero Page, X EOR Oper, X 55 2 4
Absolute EOR Oper 4D 3 4
Absolute, X EOR Oper, X 5D 3 4*
Absolute, Y EOR Oper, Y 59 3 4*
(Indirect, X) EOR (Oper, X) 41 2 6
(Indirect), Y EOR (Oper), Y 51 2 5*
* Add 1 if page boundary is crossed

INC

INC Increment memory by one

INC

Operation: M + 1 → M N Z C I D V
/ / _ _ _ _
(Ref: 10.7)
Addressing ModeAssembly Language FormOP CODENo. BytesNo. Cycles
Zero Page INC Oper E6 2 5
Zero Page, X INC Oper, X F6 2 6
Absolute INC Oper EE 3 6
Absolute, X INC Oper, X FE 3 7

INX

INX Increment Index X by one

INX

Operation: X + 1 → X N Z C I D V
/ / _ _ _ _
(Ref: 7.4)
Addressing ModeAssembly Language FormOP CODENo. BytesNo. Cycles
Implied INX E8 1 2


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