kamkow1
kamkow1

Reputation: 501

x86 - compare numbers and push the result onto the stack

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!

Upvotes: 0

Views: 25

Answers (0)

Related Questions