minix/lib/ack/libe/arch/i386/em/em_com.s

15 lines
173 B
ArmAsm
Raw Normal View History

.sect .text; .sect .rom; .sect .data; .sect .bss
.define .com
! #bytes in ecx
.sect .text
.com:
mov ebx,esp
add ebx,4
sar ecx,2
1:
not (ebx)
add ebx,4
loop 1b
ret