source: trunk/minix/lib/i86/misc/io_outsl.s@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 381 bytes
Line 
1! outsl() - Output a dword array Author: Kees J. Bot
2! 18 Mar 1996
3! void outsl(U16_t port, void *buf, size_t count);
4
5 o32 = 0x66
6
7.sect .text
8.define _outsl
9_outsl:
10 push bp
11 mov bp, sp
12 cld
13 push si
14 mov dx, 4(bp) ! port
15 mov si, 6(bp) ! buf
16 mov cx, 8(bp) ! byte count
17 shr cx, #2 ! dword count
18 .data1 o32
19 rep outs ! output many dwords
20 pop si
21 pop bp
22 ret
Note: See TracBrowser for help on using the repository browser.