Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 .file "main.cpp"
- 2 .text
- 3 .Ltext0:
- 4 .globl main
- 5 .type main, @function
- 6 main:
- 7 .LFB0:
- 8 .file 1 "main.cpp"
- 1:main.cpp ****
- 2:main.cpp **** int main(int argc, char *argv[]) {
- 9 .loc 1 2 0
- 10 .cfi_startproc
- 11 0000 55 pushq %rbp
- 12 .cfi_def_cfa_offset 16
- 13 .cfi_offset 6, -16
- 14 0001 4889E5 movq %rsp, %rbp
- 15 .cfi_def_cfa_register 6
- 16 0004 897DEC movl %edi, -20(%rbp)
- 17 0007 488975E0 movq %rsi, -32(%rbp)
- 3:main.cpp **** int j = 0;
- 18 .loc 1 3 0
- 19 000b C745FC00 movl $0, -4(%rbp)
- 19 000000
- 20 .LBB2:
- 4:main.cpp **** for(int i=0; i<10; i++) {
- 21 .loc 1 4 0
- 22 0012 C745F800 movl $0, -8(%rbp)
- 22 000000
- 23 .L3:
- 24 .loc 1 4 0 is_stmt 0 discriminator 3
- 25 0019 837DF809 cmpl $9, -8(%rbp)
- 26 001d 7F0A jg .L2
- 5:main.cpp **** j++;
- 27 .loc 1 5 0 is_stmt 1 discriminator 2
- 28 001f 8345FC01 addl $1, -4(%rbp)
- 4:main.cpp **** for(int i=0; i<10; i++) {
- 29 .loc 1 4 0 discriminator 2
- 30 0023 8345F801 addl $1, -8(%rbp)
- 31 0027 EBF0 jmp .L3
- 32 .L2:
- 33 .LBE2:
- 6:main.cpp **** }
- 7:main.cpp ****
- 8:main.cpp **** return 1;
- 34 .loc 1 8 0
- 35 0029 B8010000 movl $1, %eax
- 35 00
- 9:main.cpp ****
- 10:main.cpp **** }
- 36 .loc 1 10 0
- 37 002e 5D popq %rbp
- 38 .cfi_def_cfa 7, 8
- 39 002f C3 ret
- 40 .cfi_endproc
- 41 .LFE0:
- 42 .size main, .-main
- 43 .Letext0:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement