Write AVR assembly code to subtract 54 from 203 (203-54). You do not need to include any directives, code snippets are ok. What register will the answer be stored in? (4 points)
Write AVR assembly code to add the two numbers 307 and 562. You do not need to include any directives, code snippets are ok. You may find the instruction addc helpful here. What registers are the answer stored in? (4 points)
What are the three types of memory on an AVR and when would you use each?
(6 points)
What are the three ways an operation can access data? (6 points)
Explain what the AVR instructions “call” and “ret” do. What do they push to/pop from the stack? How does this affect the program flow? (4 points)