source:
trunk/minix/lib/i86/misc/io_outsl.s@
16
Last change on this file since 16 was 9, checked in by , 14 years ago | |
---|---|
File size: 381 bytes |
Rev | Line | |
---|---|---|
[9] | 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.