. pci driver now returns devices, even when they have been pci_reserve()d
[minix3.git] / lib / i86 / misc / io_outsw.s
blob5510bfb77ba8da5226c76fa5d52d4f271f33c786
1 ! outsw() - Output a word array Author: Kees J. Bot
2 ! 18 Mar 1996
3 ! void outsw(U16_t port, void *buf, size_t count);
5 .sect .text
6 .define _outsw
7 _outsw:
8 push bp
9 mov bp, sp
10 cld
11 push si
12 mov dx, 4(bp) ! port
13 mov si, 6(bp) ! buf
14 mov cx, 8(bp) ! byte count
15 shr cx, #1 ! word count
16 rep outs ! output many words
17 pop si
18 pop bp
19 ret