assembly language programming (prime number)
- by chris
Prompt the user for a positive three digit number, then read it. Let's call it N.
Divide into N all integer values from 2 to (N/2)+1 and test to see if the division was even, in which case N is instantly shown to be non-prime.
Output a message printing N and saying that it is not prime.
If none of those integer values divide evenly (remainder…