strcpy.s

来自「操作系统源代码」· S 代码 · 共 22 行

S
22
字号
!	strcpy()					Author: Kees J. Bot!								27 Jan 1994.sect .text; .sect .rom; .sect .data; .sect .bss! char *strcpy(char *s1, const char *s2)!	Copy string s2 to s1.!.sect .text.define _strcpy_strcpy:	push	bp	mov	bp, sp	push	si	push	di	mov	cx, #-1		! Unlimited length	call	__strncpy	! Common code	mov	ax, 4(bp)	! Return s1	pop	di	pop	si	pop	bp	ret

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?