section .data a: dq 7 b: dq 7 r: db "a == b", 10 n: db "a != b", 10 section .text global _start _start: mov eax, [a] cmp eax, [b] jne else_ ; if(a == b) push r jmp endif_ else_: ; else push n endif_: mov eax, 4 mov ebx, 1 mov ecx, [esp] mov edx, 7 int 0x80 mov eax, 1 mov ebx, 0 int 0x80