For the program below, give the values for I_COUNT and J_COUNT to get a loop ite
ID: 1847071 • Letter: F
Question
For the program below, give the values for I_COUNT and J_COUNT to get a loop iteration of 10,000.
R0 EQU $1000
R1 EQU $1001
I_COUNT EQU ______
J_COUNT EQU ______
LDAA #I_COUNT
STAA R0
L2 LDAA #J_COUNT
STAA R1
L1 CLRA
NOP
NOP
DEC R1
BNE L1
DEC R0
BNE L2
H_1 BRA H_1
A) I_COUNT = 10, J_COUNT=100
B) I_COUNT = 100, J_COUNT=10
C) I_COUNT = 100, J_COUNT=100
D) I_COUNT = 10, J_COUNT=10
Explanation / Answer
I_COUNT = 100, J_COUNT=100