Question: Write an assembly program that enters an array of 1 0 elements of values 1 and 0 only. The program should display the number of

Write an assembly program that enters an array of 10 elements of values 1 and 0 only. The program should display the number of 1 and 0 on the DOS screen.
Example if the array entered by the user is [0,0,0,1,1,0,0,0,1,1]
The program displays:
The number of 1 is 4
The number of 0 is 6

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!