Question: Hello, this was a code we worked on as a class I really just want help getting it explained and what is lg supposed to

Hello, this was a code we worked on as a class I really just want help getting it explained and what is lg supposed to say?
(b) Use the flags set by the above operators to make decisions.
Examples - determine if the number is even (or odd), if the number is positive (or negative).
Include Irvine32.inc
;signed or unsigned?
.386
.model flat,stdcall
.stack 4096
ExitProcess proto,dwExitCode:dword
.data
x1 dword 800000h
x2 dword 100000h
ls2 byte "LESS unsigned",0
ls byte "BIGGER Unsigned",0
lg byte "?????",0
.code
main proc
mov eax, x1
cmp eax, x2
jl LESS
jmp cont
LESS:
mov edx, offset ls
call writestring
cont:
mov eax,x1
cmp eax,x2
jb small
jmp cont2
small:
mov edx, offset ls2
call writestring
cont2:
mov edx, offset lg
call writeString
invoke ExitProcess,0
invoke ExitProcess,0
main ENDP
END main

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