Magellan Linux

Annotation of /tags/mkinitrd-6_3_2/isolinux/strcpy.inc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1164 - (hide annotations) (download)
Tue Sep 14 20:33:28 2010 UTC (13 years, 8 months ago) by niro
File size: 224 byte(s)
tagged 'mkinitrd-6_3_2'
1 niro 532 ;
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