Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 32bit:
- main: # @main
- pushl %ebp
- movl %esp, %ebp
- subl $24, %esp
- movl $1074921472, 8(%esp) # imm = 0x40120000
- movl $0, 4(%esp)
- movl $.L.str, (%esp)
- calll printf
- movl $9, 4(%esp)
- movl $.L.str, (%esp)
- calll printf
- movl $9, 4(%esp)
- movl $.L.str1, (%esp)
- calll printf
- xorl %eax, %eax
- addl $24, %esp
- popl %ebp
- ret
- .L.str:
- .asciz "\n%f"
- .L.str1:
- .asciz "\n%d"
- 64bit:
- .LCPI0_0:
- .quad 4616752568008179712 # double 4.500000e+00
- main: # @main
- pushq %rbp
- movq %rsp, %rbp
- movsd .LCPI0_0(%rip), %xmm0
- movl $.L.str, %edi
- movb $1, %al
- callq printf
- movl $.L.str, %edi
- movl $9, %esi
- xorb %al, %al
- callq printf
- movl $.L.str1, %edi
- movl $9, %esi
- xorb %al, %al
- callq printf
- xorl %eax, %eax
- popq %rbp
- ret
- .L.str:
- .asciz "\n%f"
- .L.str1:
- .asciz "\n%d"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement