Question: Create a count-down loop that iterates 8 times. Use R20 as the loop counter. You should initialize R20 to the loop count before the loop
Create a count-down loop that iterates 8 times.
Use R20 as the loop counter. You should initialize R20 to the loop count before the loop label.
For the body of the loop, increment R16 each iteration. This is the same loop body used in the video lectures.
Follow the count-down loop described above, with a count-up loop.
Your loop should start counting at 0 and stop counting when the loop counter exceeds 8.
Your loop should count by 2.
For the body of the loop, increment R17 each iteration.
Your program should end with the following:
done: rjmp done
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
