em_loi.s

来自「minix操作系统最新版本(3.1.1)的源代码」· S 代码 · 共 39 行

S
39
字号
.define .loi.define .los.text	! #bytes in cx	! address in bx	! save si/di. they might be register variables.los:	mov	dx,si	mov	si,bx	pop	bx	mov	ax,cx	sar	cx,#1	jnb	1f	xorb	ah,ah	lodsb	mov	si,dx	push	ax	jmp	(bx)1:	sub	sp,ax	jmp	1f.loi:	! only called with size > 4	mov	dx,si	mov	si,bx	pop     bx	sub     sp,cx	sar     cx,#11:	mov	ax,di	mov     di,sp	rep	mov	mov	si,dx	mov	di,ax	jmp     (bx)

⌨️ 快捷键说明

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