minix/lib/i386/em/em_com.s
2005-04-21 14:53:53 +00:00

14 lines
173 B
ArmAsm
Executable file

.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