Commodore 128 Programmer's Reference Manual page 174

Hide thumbs Also See for 128:
Table of Contents

Advertisement

164
COMMODORE 128
U
BEQ
BEQ Branch on result zero
BEQ
Operation: Branch on Z = 1
NZCIDV
LJ
ADDRESSING
ASSEMBLY
OP
NO.
NO.
MODE
LANGUAGE FORM
CODE
BYTES
CYCLES
Relative
BEQ
Oper
FO
2
2*
* Add 1 if branch occurs to same page.
.
i
* Add 2 if branch occurs to next page.
|
BIT
BIT Test bits in memory with accumulator
BIT
Operation: AAM,M7->N,M6-^V
Bit 6 and 7 are transferred to the status register.
N
Z
C
I
D
V
If the result of AAM is zero then Z = 1, otherwise
M7 J
-
-
-
M6
ADDRESSING
ASSEMBLY
OP
NO.
NO.
MODE
LANGUAGE FORM
CODE
BYTES
CYCLES
Zero Page
BIT
Oper
24
2
3
Absolute
BIT
Oper
2C
3
4
BMI
BMI Branch on result minus
BMI
Operation: Branch onN = l
NZCIDV
ADDRESSING
ASSEMBLY
OP
NO.
NO.
MODE
LANGUAGE FORM
CODE
BYTES
CYCLES
Relative
BMI
Oper
30
2
2*
* Add 1 if branch occurs to same page.
* Add 2 if branch occurs to different page.
BNE
BNE Branch on result not zero
BNE
Operation: Branch on Z = 0
NZCIDV
ADDRESSING
ASSEMBLY
OP
NO.
NO.
MODE
LANGUAGE FORM
CODE
BYTES
CYCLES
Relative
BNE
Oper
DO
2
2*
u
u
* Add 1 if branch occurs to same page.
(
* Add 2 if branch occurs to different page.
<-J
U

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents