Question: Use MASM ( ASSEMBLY LANGUAGE X 8 6 ) . I DID NOT UNDERSTAND AND DID PERFECTLY, PLEASE EXPLAIN EACH STEP Create an Array of

Use MASM (ASSEMBLY LANGUAGE X86). I DID NOT UNDERSTAND AND DID PERFECTLY, PLEASE EXPLAIN EACH STEP
Create an Array of 10 element, 32 bit signed integers. 10,-20,4,5,-35,44,-60,2,0,23 Loop through through the array to
1) Sum only the positive values
2) Count the number of negative values 3) Display the sum and the count after the loop finishes. Your data segment must declare the variables accordingly. Use Loop instruction.

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