Question: Consider the AVR Assembly program provided in problem 1 implemented on an ATmega 3 2 8 PB with a 1 6 M H z clock.
Consider the AVR Assembly program provided in problem implemented on an ATmegaPB with a clock.
a How many clock cycles will be used to complete execution of the program up to but not including, the instruction labeled END? Don't include the initial fetch in your total, and clearly indicate the number of cycles per instruction and how you calculated the total.
b How much time will will be used to complete execution of the program up to but not including, the instruction labeled END and not including the initial fetch? Clearly show the details of this calculation.
c How many locations are used in program flash memory to store the program's instructions?
d How many bytes are used in program flash memory to store the program's instructions?
e How many locations are used in SRAM to store data including that placed on the stack?
f How many bytes are used in SRAM to store data including that placed on the stack?
g Check your answers to the above parts using the AVR debuggersimulator in Microchip Studio and include supporting snapshots of program memory, SRAM, number of clock cycles and elapsedtotal time.
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
