bcopy.s

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

S
20
字号
!	bcopy()						Author: Kees J. Bot!								27 Jan 1994.sect .text; .sect .rom; .sect .data; .sect .bss! void bcopy(const void *s1, void *s2, size_t n)!	Copy a chunk of memory.  Handle overlap.!	This is a BSD routine that escaped from the kernel.  Don't use.!.sect .text.define _bcopy.extern __memmove_bcopy:	pop	cx	pop	ax	pop	dx		! Pop return address and arguments	push	ax	push	dx		! Arguments reversed	push	cx	jmp	__memmove	! Call the proper routine

⌨️ 快捷键说明

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