minix/lib/i386/misc/io_outsl.s

20 lines
370 B
ArmAsm
Raw Normal View History

2005-04-21 16:53:53 +02:00
! outsl() - Output a dword array Author: Kees J. Bot
! 18 Mar 1996
! void outsl(U16_t port, void *buf, size_t count);
.sect .text
.define _outsl
_outsl:
push ebp
mov ebp, esp
cld
push esi
mov edx, 8(ebp) ! port
mov esi, 12(ebp) ! buf
mov ecx, 16(ebp) ! byte count
shr ecx, 2 ! dword count
rep outs ! output many dwords
pop esi
pop ebp
ret