Question: Write a program to generate two arrays from a given array M(i) stored in memory. One of the generated arrays will have (+ve numbers) and
Write a program to generate two arrays from a given array M(i) stored in memory. One of the generated arrays will have (+ve numbers) and the other one will have (-ve) numbers. M(i) will contain 100 16-bit signed numbers. (+) and (-ve) number arrays will be stored at starting addresses of AAAAH and BBBBH in memory respectively. The starting address of M(i) is CCCCH. Use a minimum number of instructions. (Write comments).
Step by Step Solution
3.48 Rating (145 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
