Sign in
android
/
platform
/
external
/
syslinux
/
refs/heads/o-preview-2
/
.
/
core
/
strcpy.inc
blob: 9762cbbf1fd992a2c1aae20ba13848c62642b3bc [
file
] [
log
] [
blame
] [
edit
]
;
;
strcpy
:
Copy
DS
:
SI
->
ES
:
DI up to
and
including a
null
byte
;
;
on
exit
SI
and
DI point to the
byte
*
after
*
the
null
byte
;
section
.
text16
strcpy
:
push ax
.
loop
:
lodsb
stosb
and
al
,
al
jnz
.
loop
pop ax
ret