mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
str
This commit is contained in:
parent
dd911cc4f2
commit
dbafbdb6e8
@ -5,8 +5,9 @@
|
||||
; void strcpy(char *, const char *)
|
||||
;
|
||||
strcpy:
|
||||
mov ax2, STRLEN_MAX
|
||||
jmp strncpy
|
||||
mov rcx, STRLEN_MAX
|
||||
movsb.rep.nz ax0, ax1
|
||||
ret
|
||||
|
||||
;
|
||||
; void strncpy(char *, const char *, int)
|
||||
@ -16,7 +17,6 @@ strncpy:
|
||||
ret.cxz
|
||||
|
||||
movsb.rep.nz ax0, ax1
|
||||
|
||||
ret
|
||||
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user