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

  1. 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

1 Expert Approved Answer
Step: 1 Unlock

Solution Code INCLUDE irvine32inc data MSG byte Zaibis COAL LAB JOURNAL 6 0 Marks byte ... View full answer

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!