Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .LC0:
- .string "%d %d %d %d\n"
- .text
- .globl main
- .type main, @function
- main:
- .LFB0:
- .cfi_startproc
- pushl %ebp
- .cfi_def_cfa_offset 8
- .cfi_offset 5, -8
- movl %esp, %ebp
- .cfi_def_cfa_register 5
- andl $-16, %esp
- subl $64, %esp
- movl $0, 56(%esp)
- movl 56(%esp), %eax
- movl %eax, 52(%esp)
- movl 52(%esp), %eax
- movl %eax, 48(%esp)
- movl 48(%esp), %eax
- movl %eax, 44(%esp)
- movl $0, 60(%esp)
- jmp .L2
- .L9:
- movl 12(%ebp), %eax
- addl $4, %eax
- movl (%eax), %edx
- movl 60(%esp), %eax
- addl %edx, %eax
- movzbl (%eax), %eax
- movsbl %al, %eax
- cmpl $67, %eax
- je .L5
- cmpl $67, %eax
- jg .L8
- cmpl $65, %eax
- je .L4
- jmp .L3
- .L8:
- cmpl $71, %eax
- je .L6
- cmpl $84, %eax
- je .L7
- jmp .L3
- .L4:
- addl $1, 44(%esp)
- jmp .L3
- .L6:
- addl $1, 48(%esp)
- jmp .L3
- .L5:
- addl $1, 52(%esp)
- jmp .L3
- .L7:
- addl $1, 56(%esp)
- nop
- .L3:
- addl $1, 60(%esp)
- .L2:
- movl 12(%ebp), %eax
- addl $4, %eax
- movl (%eax), %edx
- movl 60(%esp), %eax
- addl %edx, %eax
- movzbl (%eax), %eax
- testb %al, %al
- jne .L9
- movl 56(%esp), %eax
- movl %eax, 16(%esp)
- movl 48(%esp), %eax
- movl %eax, 12(%esp)
- movl 52(%esp), %eax
- movl %eax, 8(%esp)
- movl 44(%esp), %eax
- movl %eax, 4(%esp)
- movl $.LC0, (%esp)
- call printf
- movl $0, %eax
- leave
- .cfi_restore 5
- .cfi_def_cfa 4, 4
- ret
- .cfi_endproc
- .LFE0:
- .size main, .-main
- .ident "GCC: (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2"
- .section .note.GNU-stack,"",@progbits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement