(2006-08-06) rescue-bootcd
This commit is contained in:
14
extra/syslinux-3.09/strcpy.inc
Normal file
14
extra/syslinux-3.09/strcpy.inc
Normal file
@@ -0,0 +1,14 @@
|
||||
;
|
||||
; strcpy: Copy DS:SI -> ES:DI up to and including a null byte;
|
||||
; on exit SI and DI point to the byte *after* the null byte
|
||||
;
|
||||
section .text
|
||||
|
||||
strcpy: push ax
|
||||
.loop: lodsb
|
||||
stosb
|
||||
and al,al
|
||||
jnz .loop
|
||||
pop ax
|
||||
ret
|
||||
|
||||
Reference in New Issue
Block a user