Magellan Linux

Contents of /tags/mkinitrd-6_0_7/mkinitrd-magellan/isolinux/strcpy.inc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 710 - (show annotations) (download)
Thu Apr 10 20:28:31 2008 UTC (16 years, 2 months ago) by (unknown author)
File size: 225 byte(s)
This commit was manufactured by cvs2svn to create tag
'mkinitrd-6_0_7'.
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 .text
6
7 strcpy: push ax
8 .loop: lodsb
9 stosb
10 and al,al
11 jnz .loop
12 pop ax
13 ret
14