use code warrior to answer the following:
Allocate two 7-byte arrays, sarray and darray, in the RAM area of memory and initialize the array, sarray, with the numbers, SEO, SCO, SAO, $80, $60, $40 and $20. Write a program, without using a loop, which copies the contents of sarray into darray in the reverse order. That is, the first byte of sarray is copied into the last byte of darray, the second byte into the second last byte, etc. Copying must be done one byte at a time. You are required to use all of the 4 addressing modes, i.e., extended, constant offset indexed, register offset indexed and auto-increment/decrement indexed addressing modes. The auto-increment/decrement index at least twice in a row. RAMStart=$0800 and ROMStart=$4000. Assemble the program and execute it in the single-step mode with the contents of the two arrays (in the variable and memory windows) displayed. Do screen-captures the source, variable and memory windows) at each of the following instances: Before any instruction is executed, and right after each of the Ist, the 3rd and the 7th bytes is copied Submit the list file of your code with the 4 sets of screen-captures attached. Allocate two 7-byte arrays, sarray and darray, in the RAM area of memory and initialize the array, sarray, with the numbers, SEO, SCO, SAO, $80, $60, $40 and $20. Write a program, without using a loop, which copies the contents of sarray into darray in the reverse order. That is, the first byte of sarray is copied into the last byte of darray, the second byte into the second last byte, etc. Copying must be done one byte at a time. You are required to use all of the 4 addressing modes, i.e., extended, constant offset indexed, register offset indexed and auto-increment/decrement indexed addressing modes. The auto-increment/decrement index at least twice in a row. RAMStart=$0800 and ROMStart=$4000. Assemble the program and execute it in the single-step mode with the contents of the two arrays (in the variable and memory windows) displayed. Do screen-captures the source, variable and memory windows) at each of the following instances: Before any instruction is executed, and right after each of the Ist, the 3rd and the 7th bytes is copied Submit the list file of your code with the 4 sets of screen-captures attached