Hi,I am trying to do if statement in Assembly but it doesnt work.Could you help me
putstr is predifine macro
Thanks
.386
.model Flat
include Cs266.inc
.data
mes1 DB "First Greater"
mes2 DB "Second Greater"
var1 DD 22
var2 DD 9
.code
main:
mov EAX,var1
cmp EAX,var2
jge else
jmp end_if
else:
putstr mes1
JMP exit
end_if:
putstr mes2
exit:
Ret
end