source:
trunk/minix/lib/i386/misc/io_inl.s@
11
Last change on this file since 11 was 9, checked in by , 14 years ago | |
---|---|
File size: 217 bytes |
Rev | Line | |
---|---|---|
[9] | 1 | ! inl() - Input one dword Author: Kees J. Bot |
2 | ! 18 Mar 1996 | |
3 | ! unsigned inl(U16_t port); | |
4 | ||
5 | .sect .text | |
6 | .define _inl | |
7 | _inl: | |
8 | push ebp | |
9 | mov ebp, esp | |
10 | mov edx, 8(ebp) ! port | |
11 | in dx ! read 1 dword | |
12 | pop ebp | |
13 | ret |
Note:
See TracBrowser
for help on using the repository browser.