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

16 lines
219 B
ArmAsm
Executable file

.sect .text; .sect .rom; .sect .data; .sect .bss
.sect .text
.define .blm
! ecx: count in words
.blm:
mov ebx,esp
mov eax,esi
mov edx,edi
mov edi,4(ebx)
mov esi,8(ebx)
rep movs
mov esi,eax
mov edi,edx
ret 8