1. Consider the following assembly program:
How many time(s), the loop SUM will be executed?
LDX #$7000
LDAA #$00
SUM: ADDA 00, X
INX
CPX #$700A
BNE SUM
WAI
a) 8
b) 12
c) 10
d) 15
1 answer
c) 10
How many time(s), the loop SUM will be executed?
LDX #$7000
LDAA #$00
SUM: ADDA 00, X
INX
CPX #$700A
BNE SUM
WAI
a) 8
b) 12
c) 10
d) 15
1 answer