csa4.s

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

S
31
字号
.sect .text; .sect .rom; .sect .data; .sect .bss.define .csa4.sect .text.csa4:				! bx, descriptor address				! ax, dx: index	mov	cx,(bx)         ! default	sub     ax,2(bx)				! ignore high order word; if non-zero, the				! case descriptor would not fit anyway	cmp	ax,6(bx)	ja	1f2:	sal     ax,#1	add	bx,ax	mov     bx,10(bx)	test    bx,bx	jnz     2f1:	mov	bx,cx	test    bx,bx	jnz     2fECASE = 20.extern .fat	mov     ax,#ECASE	push    ax	jmp     .fat2:	jmp     (bx)

⌨️ 快捷键说明

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