ack/mach/i386/libem/blm.s

16 lines
170 B
ArmAsm
Raw Permalink Normal View History

1989-01-19 16:43:32 +00:00
.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