.text .global stpcpy .type stpcpy,@function stpcpy: pushl %edi pushl %esi movl 0xc(%esp), %edi movl 0x10(%esp), %esi .Lcopy: lodsb stosb testb %al, %al jnz .Lcopy movl %edi, %eax decl %eax popl %esi popl %edi ret .Lende: .size stpcpy,.Lende-stpcpy