⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bcopy.s

📁 minux的源代码,一个非常小的操作系统
💻 S
字号:
!	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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -