Question: Using the College Registration example from Section 6.7.3 as a starting point, do the following: Recode the logic using CMP and conditional jump instructions

Using the College Registration example from Section 6.7.3 as a starting point, do the following:

• Recode the logic using CMP and conditional jump instructions (instead of the .IF and

.ELSEIF directives).

• Perform range checking on the credits value; it cannot be less than 1 or greater than 30. If an invalid entry is discovered, display an appropriate error message.

• Prompt the user for the grade average and credits values.

• Display a message that shows the outcome of the evaluation, such as “The student can register”

or “The student cannot register”.

(The Irvine32 library is required for this solution program.)

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 Implementing Programming Languages Questions!