Question: Use AVR/ from Atmel studio. Description: Write a program to copy an array of 30 8-bit elements from program memory to data memory and then

Use AVR/ from Atmel studio.

Use AVR/ from Atmel studio. Description: Write a program to copy an

Description: Write a program to copy an array of 30 8-bit elements from program memory to data memory and then subtract 10 from every element. The test array is attached to the end of your program. Provide your own test data after your program. Hint: Use X and Z pointer to point to data memory and program, respectively. Requirement: 1. Write down your program algorithm. 2. Convert the algorithm into assembly program. 3. Use the Atmel Studio to assemble the entered program and download it (or use the simulator) to the demo kit for execution. 4. Write a lab report that includes the algorithm, assembly program, your test data array before subtraction, and array after subtraction, conclusion. Description: Write a program to copy an array of 30 8-bit elements from program memory to data memory and then subtract 10 from every element. The test array is attached to the end of your program. Provide your own test data after your program. Hint: Use X and Z pointer to point to data memory and program, respectively. Requirement: 1. Write down your program algorithm. 2. Convert the algorithm into assembly program. 3. Use the Atmel Studio to assemble the entered program and download it (or use the simulator) to the demo kit for execution. 4. Write a lab report that includes the algorithm, assembly program, your test data array before subtraction, and array after subtraction, conclusion

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!