Advertisement
Guest User

Untitled

a guest
Mar 29th, 2014
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.28 KB | None | 0 0
  1.     .text
  2.         .align 4
  3.         .globl  d
  4.         .type   d, @function
  5.     d:
  6.             pushl %ebp
  7.             movl %esp,%ebp
  8.             pushl %esi
  9.             movl $0, %esi
  10.             movl (%ebp), %eax
  11.     a: 
  12.             cmp %esi, 8(%ebp)
  13.             je b
  14.             movl (%eax),%eax
  15.             incl %esi
  16.             jmp a
  17.     b:
  18.             popl %esi
  19.             movl %ebp, %esp
  20.             popl %ebp
  21.             ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement