Commodore 64 Handbook page 59

Table of Contents

Advertisement

BEQ
Branch on Result E q u al to Zero
Operation: Branch on Z = 1
N Z C I D V
Addressing
Mode
Assem bly Language
Form
OP
CODE
No.
Bytes
No.
Cycles
Relative
B EQ
aa
FO
2
2 *
*Add 1 if branch occurs to same page.
Add 2 if branch occurs to next page.
Note: AIM 65 w ill accept an absolute address as the operand (instruction format BEQ aaaa), and
convert it to a relative address.
BIT
Test Bits in Memory with Accumulator
Operation: A M, M7 -> N, M6
V
Bit 6 and 7 are transferred to the Status Register. If the
result of A M is zero then Z = 1, otherwise Z = 0
N Z C I D V
m
7
j
--------
m
6
Addressing
Assem bly Language
O P
No.
No.
Mode
Form
CODE
Bytes
Cycles
Z ero Page
BIT
aa
24
2
3
J
A b solu te
BIT
aaaa
2 C
3
4
BMI
Branch on Result Minus
Operation: Branch on N = 1
N Z C I D V
Addressing
Mode
Assem bly Language
Form
O P
CODE
No.
Bytes
No.
Cycles
R elative
BMI
aa
3 0
2
2 *
•A dd 1 if branch occurs to same page.
Add 2 if branch occurs to different page.
Note: A IM 65 w ill accept an absolute address as the operand (instruction format BMI aaaa), and
convert it to a relative address.
57

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Commodore 64

Table of Contents