x86 - compare numbers and push the result onto the stack

21 views Asked by At

I would like to know, how to compare two numbers and push the result (true, false or 1, 0) onto the stack. I know about the cmp instruction, but it only sets the flags. I need something that will result in either 1 or 0.

Thanks!

0

There are 0 answers