Question: Write a program that asks the user to enter number between 0 and 100. The program should display the appropriate grade using Cmp and jmp
- Write a program that asks the user to enter number between 0 and 100. The program should display the appropriate grade using Cmp and jmp
Score Range | Grade |
90 - 100 | A |
80 – 89 | B |
70 – 79 | C |
60 – 69 | D |
50 – 59 | F |
Hint:
call grade-> to print appropriate grade
grade proc
cmp eax, 100
JA gEr
ret-> used to pops the return address off the stack and returns control to that location
Step by Step Solution
3.39 Rating (146 Votes )
There are 3 Steps involved in it
Solution Code INCLUDE irvine32inc data MSG byte Zaibis COAL LAB JOURNAL 6 0 Marks byte ... View full answer
Get step-by-step solutions from verified subject matter experts
