Question: . data ; General purpose variables a SDWORD ? b SDWORD ? c SBYTE ? d SBYTE ? upperLevel SDWORD 1 8 lowerLevel SDWORD 3
data
; General purpose variables
a SDWORD
b SDWORD
c SBYTE
d SBYTE
upperLevel SDWORD
lowerLevel SDWORD
; Strings
yes BYTE "Yes",
no BYTE No
maybe BYTE "Maybe",
code
main PROC
MOV EAX, a
CMP EAX, b
JLE option
JE option
JMP option
option:
MOV EDX, OFFSET yes
CALL WriteString
JMP endOfProgram
option:
MOV EDX, OFFSET no
CALL WriteString
JMP endOfProgram
option:
MOV EDX, OFFSET maybe
CALL WriteString
endOfProgram:
exit
main ENDP
END main
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
