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

📄 cii.s

📁 minux的源代码,一个非常小的操作系统
💻 S
字号:
.define .cii

.text
.cii:
	pop     bx              ! return address
				! pop     cx, dest. size
				! pop     dx, src. size
				! ax is first word of source
	cmp	dx,#1
	jne	2f
	cbw
	mov	dx,#2
2:
	cmp     dx,cx
	je      8f
	cmp     dx,#2
	je      1f
	cmp     dx,#4
	jne     9f
	cmp     cx,#2
	jne     9f
	pop     dx
8:
	jmp     (bx)
1:
	cmp     cx,#4
	jne     9f
	cwd
	push    dx
	jmp     (bx)
9:
	push    ax              ! push low source
EILLINS = 18
.extern .fat
	mov     ax,#EILLINS
	push    ax
	jmp     .fat

⌨️ 快捷键说明

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