Advertisement
Guest User

Untitled

a guest
Apr 25th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  14 sprinter:
  2.  15
  3.  16     pushl %ebp
  4.  17     movl %esp,%ebp
  5.  18
  6.  19     movl 8(%ebp), %esi      #Put res pointer in esi
  7.  20     movl 12(%ebp), %edi     #Put format pointer in edi
  8.  21     movb $0,%cl             #Initializing res len to 0
  9.  22     movl $16,%edx           #Stack offset
  10.  23
  11.  24 s_loop:
  12.  25     movb (%edi), %al        #Moves format char to %al
  13.  26     cmpb $37, %al           #Check if char is %
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement