source: trunk/minix/lib/i86/misc/io_inw.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: 209 bytes
Line 
1! inw() - Input one word Author: Kees J. Bot
2! 18 Mar 1996
3! unsigned inw(U16_t port);
4
5.sect .text
6.define _inw
7_inw:
8 push bp
9 mov bp, sp
10 mov dx, 4(bp) ! port
11 in dx ! read 1 word
12 pop bp
13 ret
Note: See TracBrowser for help on using the repository browser.