Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .global main
- .text
- .type main, @function
- main:
- pushq %rbp
- movq %rsp, %rbp
- pushq %r14
- pushq %r15
- pushq %r13
- movq %rbp, %r14
- movq %rsp, %r15
- movq $0, %r11
- .try_1:
- leaq .catch_2, %r13
- pushq %r14
- pushq %r15
- pushq %r13
- movq %rbp, %r14
- movq %rsp, %r15
- movq $0, %r11
- .try_5:
- leaq .catch_6, %r13
- movq $0 , %rax
- movq %rax, %r12
- movq $1, %r11
- jmpq *%r13
- cmp $0, %r11
- je .endTryBlock_8
- .catch_6: movq %r14, %rbp
- movq %r15, %rsp
- popq %r13
- popq %r15
- popq %r14
- cmp $2, %r11
- jne .catch_9
- pushq %r11
- pushq %rdi
- pushq %rsi
- pushq %rdx
- pushq %rcx
- pushq %r8
- pushq %r9
- .data
- .string_10:
- .string "Ne m'affiche pas !\n"
- .align 8
- .text
- movq $.string_10, %rax
- pushq %rax
- pop %rdi
- movq $0, %rax
- callq printf
- movslq %eax, %rax
- popq %r9
- popq %r8
- popq %rcx
- popq %rdx
- popq %rsi
- popq %rdi
- popq %r11
- movq $0, %r11
- .catch_9:
- .finally_7:
- pushq %r11
- pushq %rdi
- pushq %rsi
- pushq %rdx
- pushq %rcx
- pushq %r8
- pushq %r9
- .data
- .string_12:
- .string "Affiche moi 1!\n"
- .align 8
- .text
- movq $.string_12, %rax
- pushq %rax
- pop %rdi
- movq $0, %rax
- callq printf
- movslq %eax, %rax
- popq %r9
- popq %r8
- popq %rcx
- popq %rdx
- popq %rsi
- popq %rdi
- popq %r11
- cmp $0, %r11
- je .endFinally_14
- jmpq *%r13
- .endFinally_14:
- .endTryBlock_8:
- pushq %r11
- pushq %rdi
- pushq %rsi
- pushq %rdx
- pushq %rcx
- pushq %r8
- pushq %r9
- .data
- .string_15:
- .string "Ne m'affiche pas !\n"
- .align 8
- .text
- movq $.string_15, %rax
- pushq %rax
- pop %rdi
- movq $0, %rax
- callq printf
- movslq %eax, %rax
- popq %r9
- popq %r8
- popq %rcx
- popq %rdx
- popq %rsi
- popq %rdi
- popq %r11
- cmp $0, %r11
- je .endTryBlock_4
- .catch_2: movq %r14, %rbp
- movq %r15, %rsp
- popq %r13
- popq %r15
- popq %r14
- cmp $1, %r11
- jne .catch_17
- pushq %r11
- pushq %rdi
- pushq %rsi
- pushq %rdx
- pushq %rcx
- pushq %r8
- pushq %r9
- movq %r12, %rax
- pushq %rax
- .data
- .string_18:
- .string "Affiche un z\195\169ro : %d\n"
- .align 8
- .text
- movq $.string_18, %rax
- pushq %rax
- pop %rdi
- pop %rsi
- movq $0, %rax
- callq printf
- movslq %eax, %rax
- popq %r9
- popq %r8
- popq %rcx
- popq %rdx
- popq %rsi
- popq %rdi
- popq %r11
- movq $0, %r11
- .catch_17:
- .finally_3:
- pushq %r11
- pushq %rdi
- pushq %rsi
- pushq %rdx
- pushq %rcx
- pushq %r8
- pushq %r9
- .data
- .string_20:
- .string "Affiche moi 2!\n"
- .align 8
- .text
- movq $.string_20, %rax
- pushq %rax
- pop %rdi
- movq $0, %rax
- callq printf
- movslq %eax, %rax
- popq %r9
- popq %r8
- popq %rcx
- popq %rdx
- popq %rsi
- popq %rdi
- popq %r11
- cmp $0, %r11
- je .endFinally_22
- jmpq *%r13
- .endFinally_22:
- .endTryBlock_4:
- pushq %r11
- pushq %rdi
- pushq %rsi
- pushq %rdx
- pushq %rcx
- pushq %r8
- pushq %r9
- .data
- .string_23:
- .string "Affiche moi 3!\n"
- .align 8
- .text
- movq $.string_23, %rax
- pushq %rax
- pop %rdi
- movq $0, %rax
- callq printf
- movslq %eax, %rax
- popq %r9
- popq %r8
- popq %rcx
- popq %rdx
- popq %rsi
- popq %rdi
- popq %r11
- pushq %r14
- pushq %r15
- pushq %r13
- movq %rbp, %r14
- movq %rsp, %r15
- movq $0, %r11
- .try_25:
- leaq .catch_26, %r13
- movq $2 , %rax
- movq %rax, %r12
- movq $3, %r11
- jmpq *%r13
- cmp $0, %r11
- je .endTryBlock_28
- .catch_26: movq %r14, %rbp
- movq %r15, %rsp
- popq %r13
- popq %r15
- popq %r14
- cmp $3, %r11
- jne .catch_29
- pushq %r14
- pushq %r15
- pushq %r13
- movq %rbp, %r14
- movq %rsp, %r15
- movq $0, %r11
- .try_30:
- leaq .catch_31, %r13
- movq $3 , %rax
- movq %rax, %r12
- movq $4, %r11
- jmpq *%r13
- cmp $0, %r11
- je .endTryBlock_33
- .catch_31: movq %r14, %rbp
- movq %r15, %rsp
- popq %r13
- popq %r15
- popq %r14
- cmp $5, %r11
- jne .catch_34
- pushq %r11
- pushq %rdi
- pushq %rsi
- pushq %rdx
- pushq %rcx
- pushq %r8
- pushq %r9
- .data
- .string_35:
- .string "Ne m'affiche surtout pas !\n"
- .align 8
- .text
- movq $.string_35, %rax
- pushq %rax
- pop %rdi
- movq $0, %rax
- callq printf
- movslq %eax, %rax
- popq %r9
- popq %r8
- popq %rcx
- popq %rdx
- popq %rsi
- popq %rdi
- popq %r11
- movq $0, %r11
- .catch_34:
- .finally_32:
- pushq %r11
- pushq %rdi
- pushq %rsi
- pushq %rdx
- pushq %rcx
- pushq %r8
- pushq %r9
- .data
- .string_37:
- .string "Affiche moi vraiment!\n"
- .align 8
- .text
- movq $.string_37, %rax
- pushq %rax
- pop %rdi
- movq $0, %rax
- callq printf
- movslq %eax, %rax
- popq %r9
- popq %r8
- popq %rcx
- popq %rdx
- popq %rsi
- popq %rdi
- popq %r11
- cmp $0, %r11
- je .endFinally_39
- jmpq *.finally_27
- .endFinally_39:
- .endTryBlock_33:
- movq $0, %r11
- .catch_29:
- cmp $4, %r11
- jne .catch_40
- pushq %r11
- pushq %rdi
- pushq %rsi
- pushq %rdx
- pushq %rcx
- pushq %r8
- pushq %r9
- .data
- .string_41:
- .string "Je pense que tu ne devrais pas m'afficher !\n"
- .align 8
- .text
- movq $.string_41, %rax
- pushq %rax
- pop %rdi
- movq $0, %rax
- callq printf
- movslq %eax, %rax
- popq %r9
- popq %r8
- popq %rcx
- popq %rdx
- popq %rsi
- popq %rdi
- popq %r11
- movq $0, %r11
- .catch_40:
- .finally_27:
- pushq %r11
- pushq %rdi
- pushq %rsi
- pushq %rdx
- pushq %rcx
- pushq %r8
- pushq %r9
- .data
- .string_43:
- .string "Je dois \195\170tre affich\195\169 !\n"
- .align 8
- .text
- movq $.string_43, %rax
- pushq %rax
- pop %rdi
- movq $0, %rax
- callq printf
- movslq %eax, %rax
- popq %r9
- popq %r8
- popq %rcx
- popq %rdx
- popq %rsi
- popq %rdi
- popq %r11
- cmp $0, %r11
- je .endFinally_45
- jmpq *%r13
- .endFinally_45:
- .endTryBlock_28:
- pushq %r11
- pushq %rdi
- pushq %rsi
- pushq %rdx
- pushq %rcx
- pushq %r8
- pushq %r9
- .data
- .string_46:
- .string "Affiche moi parce que je le vaux bien !\n"
- .align 8
- .text
- movq $.string_46, %rax
- pushq %rax
- pop %rdi
- movq $0, %rax
- callq printf
- movslq %eax, %rax
- popq %r9
- popq %r8
- popq %rcx
- popq %rdx
- popq %rsi
- popq %rdi
- popq %r11
- leaveq
- retq
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement