Advertisement
Guest User

Untitled

a guest
May 25th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     movl    -8(%ebp),%ebx
  2.     movl    -12(%ebp),%eax
  3.     cmp %ebx,%eax
  4.     jl  L32
  5.     jmp L25
  6.    
  7.    
  8.     ---------------------------
  9.    
  10.     pushl   %ebp
  11.     pushl   $-8
  12.     popl    %ebx
  13.     popl    %eax
  14.     addl    %ebx,%eax
  15.     pushl   %eax
  16.     popl    %ebx
  17.     movl    (%ebx),%eax
  18.     pushl   %eax
  19.     pushl   %ebp
  20.     pushl   $-12
  21.     popl    %ebx
  22.     popl    %eax
  23.     addl    %ebx,%eax
  24.     pushl   %eax
  25.     popl    %ebx
  26.     movl    (%ebx),%eax
  27.     pushl   %eax
  28.     popl    %ebx
  29.     popl    %eax
  30.     cmp %ebx,%eax
  31.     jl  L32
  32.     jmp L25
  33.  
  34.  
  35. #
  36.         pushl   %ebp
  37. # stack 1: ebp
  38.         pushl   $-8
  39. # stack 2: ebp -8
  40.         popl    %ebx
  41. # ebx = -8
  42.         popl    %eax
  43. # eax = %ebp
  44.         addl    %ebx,%eax
  45. # eax = %ebp -8
  46.         pushl   %eax
  47. # stack: %ebp-8
  48.         popl    %ebx
  49. # ebx = %ebp-8
  50.         movl    (%ebx),%eax
  51. # eax = (%ebp-8)
  52.         pushl   %eax
  53. # stack 1: (%ebp-8)
  54.         pushl   %ebp
  55. # stack 2: (%ebp-8) %ebp
  56.         pushl   $-12
  57. # stack 3: (%ebp-8) %ebp -12
  58.         popl    %ebx
  59. # ebx = -12
  60.         popl    %eax
  61. # eax = %ebp
  62.         addl    %ebx,%eax
  63. # eax = %ebp-12
  64.         pushl   %eax
  65. # stack 2: (%ebp-8) %ebp-12
  66.         popl    %ebx
  67. # ebx = (%ebp-12)
  68.         movl    (%ebx),%eax
  69. # eax = (%ebp-12)
  70.         pushl   %eax
  71. # stack 2: (%ebp-8) (%ebp-12)
  72.         popl    %ebx
  73. # ebx = (%ebp-12)
  74.         popl    %eax
  75. # eax = (%ebp-8)
  76.         cmp     %ebx,%eax
  77. # eax = cmp (%ebp-12) (%ebp-8)
  78.         jl      L32
  79. #
  80.         jmp     L25
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement