int main()
{
int a;
int b;
int x = 1;
int y = 2;
int z = 3;
__asm {
mov eax, y
mul z
add eax, x
mov a, eax
mov eax, y
mov ebx, z
add eax, x
add ebx, x
mul ebx
mov b, eax
mov eax, a
mov ebx, b
cmp eax, ebx
je equal
jb more
jmp less
};
equal:
printf("a = b");
return 0;
less:
printf("a > b");
return 0;
more:
printf("a < b");
return 0;
}