| As you can see from my gdb gef output, I am on a repnz scas instruction (which I actually wrote as a repe scasb but apparently the gdb disassembler is off or something else happened during assembly (forgive my ignorance here)... In any event, despite the fact that it's a repnz scas, as you can see, the zero flag is actually set and this continuous to repeat, that's what I'm confused about. Actually, I found this because I'm debugging a segfault in my program and it's because this loop goes for far too long and causes a memory corruption.
 In any event, here's the screenshot:
 
 
 
        | 
        
                | Description: | gdb gef output for repnz scas even with zero flag set |  
                | Filesize: | 805.72 KB |  
                | Viewed: | 3420 Time(s) |  
                | 
  
 
 |  |  
 _________________
 -moveax41h
 |