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

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 Computer Engineering Questions!