EasyManua.ls Logo

Commodore 64 - Page 59

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...
BEQ
Branch on Result Equal to Zero
Operation: Branch on Z = 1
N ZC I DV
Addressing
Mode
Assembly Language
Form
OP
CODE
No.
Bytes
No.
Cycles
Relative
BEQ aa
FO
2
2*
*Add 1 if branch occurs to same page.
Add 2 if branch occurs to next page.
Note: AIM 65 will 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
--------
m6
Addressing
Assembly Language
OP
No.
No.
Mode
Form
CODE
Bytes
Cycles
Zero Page
BIT aa 24
2
3
J Absolute
BIT aaaa 2C
3
4
BMI
Branch on Result Minus
Operation: Branch on N = 1
N ZC I DV
Addressing
Mode
Assembly Language
Form
OP
CODE
No.
Bytes
No.
Cycles
Relative
BMI aa
30 2
2*
•Add 1 if branch occurs to same page.
Add 2 if branch occurs to different page.
Note: AIM 65 will accept an absolute address as the operand (instruction format BMI aaaa), and
convert it to a relative address.
57

Other manuals for Commodore 64

Related product manuals