.686P .XMM include listing.inc .model flat INCLUDELIB MSVCRTD INCLUDELIB OLDNAMES PUBLIC compare _TEXT SEGMENT _x$ = 8 ; size = 4 _y$ = 12 ; size = 4 compare PROC push ebp mov ebp, esp sub esp, 192 ; 000000c0H push ebx push esi push edi mov eax, DWORD PTR _x$[ebp] cmp eax, DWORD PTR _y$[ebp] jle SHORT label1 mov eax, 1 jmp SHORT label2 label1: xor eax, eax label2: pop edi pop esi pop ebx mov esp, ebp pop ebp ret 0 compare ENDP ; func3 _TEXT ENDS END