Question: 5 ) Read the following program and determine the Hex value of r 1 6 , r 1 7 , r 1 8 , r
Read the following program and determine the Hex value of r r r r when the program is done.
points
include mPdef.inc"
equ N
def Sum r
def Sum r
def Index r
ldi Sume,
ldi Sum
ldi r
ldi Index,
cpi Index, N
breq done
Add Sume, Index
Adc Sum r
inc Index
inc Index
rjmp floop
done: ret
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
