assembly - `testl` eax against eax? -
i trying understand assembly.
the assembly follows, interested in testl line:
000319df 8b4508 movl 0x08(%ebp), %eax 000319e2 8b4004 movl 0x04(%eax), %eax 000319e5 85c0 testl %eax, %eax 000319e7 7407 je 0x000319f0 i trying understand point of testl between %eax , %eax? think specifics of code isn't important, trying understand test - wouldn't value true?
it tests whether eax 0, or above, or below. in case, jump taken if eax 0.
Comments
Post a Comment