Question: Q.7. (25 points) Write a M6800 assembly language program to perform the following operations. There are two arrays X and Y in the memory that
Q.7. (25 points) Write a M6800 assembly language program to perform the following operations. There are two arrays X and Y in the memory that contain signed numbers in 2's complement representation. Array X starts from location S0H and array Y starts from location 80H. Both arrays have 10 elements. Write a program to calculate the elements of arrays X and Y, according to the following algorithm. for each element i of array x if (X1120) Y[1 X[1] + X[1+11/2 Y[:) endit else endtor
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
