je instruction
(gdb) disass Dump of assembler code for function fputs_unlocked: 0xb7788c30 : push %ebp 0xb7788c31 : mov %esp,%ebp 0xb7788c33 : sub $0x1c,%esp 0xb7788c36 : mov %ebx,-0xc(%ebp) 0xb7788c39 : call 0xb773daaf 0xb7788c3e : add $0xe13b6,%ebx 0xb7788c44 : mov %edi,-0x4(%ebp) => 0xb7788c47 : mov 0x8(%ebp),%edi 0xb7788c4a : mov %esi,-0x8(%ebp) 0xb7788c4d : mov 0xc(%ebp),%esi 0xb7788c50 : mov %edi,(%esp) 0xb7788c53 : call 0xb779a530 0xb7788c58 : mov %eax,%edx 0xb7788c5a : mov -0x10c(%ebx),%eax 0xb7788c60 : test %eax,%eax 0xb7788c62 : je 0xb7788cbb 0xb7788c64 : mov 0x68(%esi),%eax 0xb7788c67 : test %eax,%eax 0xb7788c69 : je 0xb7788c88 0xb7788c6b : cmp $0xffffffff,%eax 0xb7788c6e : je 0xb7788c8f 0xb7788c70 : mov $0xffffffff,%eax
je 0xb7788cbb
Process Involved
$ yes 1 . . 1 1 1 1 1 1 1 . .
Explanation
The Jump if Equal (je) instruction jumps if the zero flag is set. source : http://stackoverflow.com/questions/147173/x86-assembly-testl-eax-against-eax