Question: Write an ALP that counts the negative number from a set of the following 32-bit numbers. 456789022,780767884,9008123Ah,345678AB2, D2345678h, 54337641h, B2B1C3D4h, 28346532h, 92345677h, 718293A4h After counting

Write an ALP that counts the negative number from a set of the following 32-bit numbers. 456789022,780767884,9008123Ah,345678AB2, D2345678h, 54337641h, B2B1C3D4h, 28346532h, 92345677h, 718293A4h After counting the numbers, replace the MSB in all negative numbers with 1. E.g., replace 9008123Ah with 1008123Ah Store the modified array of data at memory location 0400h and the count of negative numbers in the DX register.

It is to be done in masm611.

Step by Step Solution

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 Databases Questions!