Hello, this is an assignment for my intro assembly language class. I would reall
ID: 656102 • Letter: H
Question
Hello, this is an assignment for my intro assembly language class. I would really appreciate some help. Please and thank you.
(a) Divide 100 by 5. Use the smallest size to do the operation.
(b) Divide 100 by 5. Use the next bigger size to do the operation.
(c) Divide 100 by 5. Use the next bigger size to do the operation.
(d) What is the output of this operation?
(e) Write a complete assembly program, that prompts the user for an integer. Print all the divisors for that given integer. Assume the number will be less than 100.
(f) If the number is less than 1000. What modification should be made.
(g) If the number is less than 100000. What modification should be made.
(h) Develop an algorithm to determine if a given number is prime. Use the definition of a Prime number to create the algorithm
Explanation / Answer
for division :by 8 divide by 2
for printing the divisors
number is prime or not
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.