Advertisement
Guest User

Untitled

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