Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ASM Q
#1
What does the test instruction do, and how does it work?
quote="Deleter"]judging gameplay, you can adaquately compare quake 4 with pong[/quote]
Reply
#2
test is just like and, except it doesn't modify its operands - it just sets the flags as if you did an and. cmp works the same way, except with subtraction.
Reply
#3
So this code:

Code:
test al,al
jne 0044AF0C

What would this do?
quote="Deleter"]judging gameplay, you can adaquately compare quake 4 with pong[/quote]
Reply
#4
It takes the jump iff AL = 0.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)