repo.or.cz
/
syslinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Correctly handle switches between graphics and text mode
[syslinux.git]
/
strcpy.inc
blob
2bafa7feb61066c14227c6edad607c03e82fac78
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