source:
bootcd/isolinux/syslinux-6.03/core/strcpy.inc
@
dd1be7c
Last change on this file since dd1be7c was e16e8f2, checked in by , 3 years ago | |
---|---|
|
|
File size: 226 bytes |
Line | |
---|---|
1 | ; |
2 | ; strcpy: Copy DS:SI -> ES:DI up to and including a null byte; |
3 | ; on exit SI and DI point to the byte *after* the null byte |
4 | ; |
5 | section .text16 |
6 | |
7 | strcpy: push ax |
8 | .loop: lodsb |
9 | stosb |
10 | and al,al |
11 | jnz .loop |
12 | pop ax |
13 | ret |
Note: See TracBrowser
for help on using the repository browser.