source: trunk/minix/lib/i386/misc/io_insw.s@ 11

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

Minix 3.1.2a

File size: 362 bytes
Line 
1! insw() - Input a word array Author: Kees J. Bot
2! 18 Mar 1996
3! void insw(U16_t port, void *buf, size_t count);
4
5.sect .text
6.define _insw
7_insw:
8 push ebp
9 mov ebp, esp
10 cld
11 push edi
12 mov edx, 8(ebp) ! port
13 mov edi, 12(ebp) ! buf
14 mov ecx, 16(ebp) ! byte count
15 shr ecx, 1 ! word count
16rep o16 ins ! input many words
17 pop edi
18 pop ebp
19 ret
Note: See TracBrowser for help on using the repository browser.