em_ior.s

来自「minix 2.0操作系统源代码」· S 代码 · 共 19 行

S
19
字号
.sect .text; .sect .rom; .sect .data; .sect .bss
.sect .text
.define	.ior

	! #bytes in ecx
.ior:
	pop	ebx		! return address
	mov	edx,edi
	mov	edi,esp
	add	edi,ecx
	sar	ecx,2
1:
	pop	eax
	or	eax,(edi)
	stos
	loop	1b
	mov	edi,edx
	jmp	ebx

⌨️ 快捷键说明

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