Question: Please write the program in assembly language. Subject Program loop Description: Write a program to copy an array of 30 8-bit elements from program memory
Please write the program in assembly language.

Subject Program loop 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. Subject Program loop 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
Get step-by-step solutions from verified subject matter experts
