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 Irvineinc
;signed or unsigned?
model flat,stdcall
stack
ExitProcess proto,dwExitCode:dword
data
x dword h
x dword h
ls byte "LESS unsigned",
ls byte "BIGGER Unsigned",
lg byte
code
main proc
mov eax, x
cmp eax, x
jl LESS
jmp cont
LESS:
mov edx, offset ls
call writestring
cont:
mov eax,x
cmp eax,x
jb small
jmp cont
small:
mov edx, offset ls
call writestring
cont:
mov edx, offset lg
call writeString
invoke ExitProcess,
invoke ExitProcess,
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
