Created
December 18, 2014 15:00
-
-
Save miniharryc/4008a189535a6250d90e to your computer and use it in GitHub Desktop.
output of cc quiz.c (unoptimized)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(__TEXT,__text) section | |
_main: | |
0000000100000ef0 pushq %rbp | |
0000000100000ef1 movq %rsp, %rbp | |
0000000100000ef4 subq $0x20, %rsp | |
0000000100000ef8 movl $0x0, -0x4(%rbp) | |
0000000100000eff movl %edi, -0x8(%rbp) | |
0000000100000f02 movq %rsi, -0x10(%rbp) | |
0000000100000f06 movl $0x5, -0x14(%rbp) | |
0000000100000f0d movl $0xa, -0x18(%rbp) | |
0000000100000f14 movl -0x18(%rbp), %eax | |
0000000100000f17 addl $0xffffffff, %eax ## imm = 0xFFFFFFFF | |
0000000100000f1c movl %eax, -0x18(%rbp) | |
0000000100000f1f cmpl $0x0, %eax | |
0000000100000f24 je 0x100000f46 | |
0000000100000f2a leaq 0x61(%rip), %rdi | |
0000000100000f31 movl -0x14(%rbp), %esi | |
0000000100000f34 movl -0x18(%rbp), %edx | |
0000000100000f37 movb $0x0, %al | |
0000000100000f39 callq 0x100000f70 | |
0000000100000f3e movl %eax, -0x1c(%rbp) | |
0000000100000f41 jmp 0x100000f14 | |
0000000100000f46 jmp 0x100000f4b | |
0000000100000f4b movl -0x14(%rbp), %eax | |
0000000100000f4e addl $0xffffffff, %eax ## imm = 0xFFFFFFFF | |
0000000100000f53 movl %eax, -0x14(%rbp) | |
0000000100000f56 cmpl $0x0, %eax | |
0000000100000f5b je 0x100000f66 | |
0000000100000f61 jmp 0x100000f4b | |
0000000100000f66 movl -0x4(%rbp), %eax | |
0000000100000f69 addq $0x20, %rsp | |
0000000100000f6d popq %rbp | |
0000000100000f6e retq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment