Question: Input two DWORD values from the keyboard. Using . IF , . ELSE and the . ELSEIF instructions determine which number is larger or if
Input two DWORD values from the keyboard. Using IFELSE and the ELSEIF instructions determine which number is larger or if they are equal. Your program should look like the following:
First number larger
Enter a number
Enter a number
is the larger number
Press any key to close this window
Second number larger
Enter a number
Enter a number
is the larger number
Press any key to close this window
Numbers Equal
Enter a number
Enter a number
Numbers are equal
Press any key to close this window
NOT Allowed
The use of legacy directives like DB and DW is not allowed in this class. A deduction of will be given if you use them.
The use of indirect addressing around variables is NOT allowed in the class unless you are using indirect addressing. An example of this would be val Doing this will result in a reduction in your grade.
Please NOTE:
Not putting comments in assembly language source code in unacceptable. You are required to comment each line of code you write. Failure to do so will result in a reduction in your grade.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
