Question: Assembler question? Write a program that sums the following list of numbers and store the result in the byte addressed at 0x10A of SRAM. List
Assembler question?
Write a program that sums the following list of numbers and store the result in the byte addressed at 0x10A of SRAM.
List of numbers: 2, 4, 5, 20, 37
Use the ldi instruction to load each number into a register and as many adds as you need to calculate the total. Store the total at location 0x10A in SRAM.
Is this just a bunch of add statements piled together?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
