#include <stdio.h>
int main()
{
/*1149: f3 0f 1e fa endbr64
114d: 55 push %rbp
114e: 48 89 e5 mov %rsp,%rbp
1151: 48 83 ec 10 sub $0x10,%rsp
1155: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%rbp) */
int a;
/*115c: eb 23 jmp 1181 <main+0x38>
115e: 83 7d fc 05 cmpl $0x5,-0x4(%rbp)
1162: 74 18 je 117c <main+0x33>
1164: 8b 45 fc mov -0x4(%rbp),%eax
1167: 89 c6 mov %eax,%esi
1169: 48 8d 3d 94 0e 00 00 lea 0xe94(%rip),%rdi # 2004 <_IO_stdin_used+0x4>
1170: b8 00 00 00 00 mov $0x0,%eax
1175: e8 d6 fe ff ff callq 1050 <printf@plt>
117a: eb 01 jmp 117d <main+0x34>
117c: 90 nop
117d: 83 45 fc 01 addl $0x1,-0x4(%rbp)
1181: 83 7d fc 09 cmpl $0x9,-0x4(%rbp)
1185: 7e d7 jle 115e <main+0x15> */
for (a = 0; a < 9; a++) {
if (a == 5) {
continue;
}
printf("%d\n", a);
}
/*1187: b8 00 00 00 00 mov $0x0,%eax
118c: c9 leaveq
118d: c3 retq
118e: 66 90 xchg %ax,%ax*/
return 0;
}
// source code
#include <stdio.h>
int main()
{
int i;
for (i = 0; i < 10; i++) {
if (i == 5)
continue;
printf("%d\n", i);
}
}