cmu4.s

来自「minux的源代码,一个非常小的操作系统」· S 代码 · 共 28 行

S
28
字号
.define .cmu4

.text
.cmu4:
	pop     bx              ! return address
	pop     cx
	pop     dx
	pop     ax
	push	si
	mov	si,sp
	xchg	bx,2(si)
	pop	si
	cmp     bx,dx
	ja      1f
	jb      2f
	cmp     ax,cx
	ja      1f
	je      3f
2:
	mov	ax,#-1
	ret
3:
	xor	ax,ax
	ret
1:
	mov	ax,#1
	ret

⌨️ 快捷键说明

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