version: Update to 4.08, update year to 2014
[syslinux/sherbszt.git] / core / strcpy.inc
blob9762cbbf1fd992a2c1aae20ba13848c62642b3bc
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
5                 section .text16
7 strcpy:         push ax
8 .loop:          lodsb
9                 stosb
10                 and al,al
11                 jnz .loop
12                 pop ax
13                 ret