Question: In 8 0 8 6 microprocessors Write an assembly language program to count the number of prime numbers in array. [ 7 h , 2

In 8086 microprocessors Write an assembly language program to count the number of prime numbers in array.
[7h,2h,6h,5h,1h,8h,9h,12h,11h], and find the sum of all the numbers in an array and store the result in [0500]H.
Eg. of Prime Numbers are 2,3,5,7,11.(i,e Number divisable by itself and 1 is a prime number.)
Please execute using DOSBOX.

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!