-3
testl   %esi, %esi
jle .L7

I mean I understand that test actually ANDs the operands, but what is it doing in this case here?

Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
  • When you read the documentation for (what processor is this) what does it say about these two instrucitons. In particular with respect to flags? The answer is right there in the documentation. – old_timer Jul 05 '16 at 04:09

1 Answers1

1

The jle in the line after the testl says what happens: if esi is non-positive (0 or less), jump to .L7.

C. K. Young
  • 219,335
  • 46
  • 382
  • 435