subject

Using the College Registration example from Section 6.7.3 as a starting point, do the following:
-Recode the logic sing 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".
6.7.3 example:
.data
TRUE = 1
FALSE = 0
gradeAverage WORD 275 ; test value
credits WORD 12 ; test value
OkToRegister BYTE ?
.code
main PROC
mov OkToRegister, FALSE
.IF gradeAverage > 350
mov OkToRegister, TRUE
.ELSEIF (gradeAverage > 250) && (credits <= 16)
mov OkToRegister, TRUE
.ELSEIF (credits <= 12)
mov OkToRegister, TRUE
.ENDIF

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:30
You are almost finished updating a web site. as part of the update, you have converted all pages from html 4.0 to html5. the project is currently on schedule. however, your project manager has been asked by the marketing team manager to justify a day of time spent validating the site's html5 pages. the marketing team manager does not have technical knowledge of the internet or the web. which is the most appropriate explanation to provide to the marketing team manager?
Answers: 1
question
Computers and Technology, 24.06.2019 01:00
What shows the web address of the page that is currently displayed in the workspace? status window toolbar location bar internet box
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
Universal windows platform is designed for which windows 10 version?
Answers: 1
question
Computers and Technology, 24.06.2019 17:50
You work in the accounting department and have been using a network drive to post excel workbook files to your file server as you complete them. when you attempt to save a workbook file to the drive, you see the error message: ā€œyou do not have access to the folder ā€˜j: \ā€™. see your administrator for access to this folder.ā€ what should you do first
Answers: 2
You know the right answer?
Using the College Registration example from Section 6.7.3 as a starting point, do the following:
Questions
question
Mathematics, 18.11.2020 23:40
question
Mathematics, 18.11.2020 23:40
question
Mathematics, 18.11.2020 23:40
question
Computers and Technology, 18.11.2020 23:40
Questions on the website: 13722367