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

BEQ

BEQ Branch on result zero

BEQ

Operation: Branch on Z = 1 N Z C I D V
_ _ _ _ _ _
(Ref: 4.1.1.5)
Addressing ModeAssembly Language FormOP CODENo. BytesNo. Cycles
Relative BEQ Oper F0 2 2*
* Add 1 if branch occurs to same page.
* Add 2 if branch occurs to next page.

BIT

BIT Test bits in memory with accumulator

BIT

Operation: A ∧ M, M7 → N, M6 → V
Bit 6 and 7 are transferred to the status register
If the reusult of A ∧ M is zero then Z=1, otherwise
Z=0
N Z C I D V 
M7/ _ _ _ M6
(Ref: 4.1.1.5)
Addressing ModeAssembly Language FormOP CODENo. BytesNo. Cycles
Zero Page BIT Oper 24 2 3
Absolute BIT Oper 2C 3 4

BMI

BMI Branch on result minus

BMI

Operation: Branch on N = 1 N Z C I D V
_ _ _ _ _ _
(Ref: 4.1.1.1)
Addressing ModeAssembly Language FormOP CODENo. BytesNo. Cycles
Relative BMI Oper 30 2 2*
* Add 1 if branch occurs to same page.
* Add 2 if branch occurs to next page.


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