source: trunk/minix/lib/i86/misc/io_outb.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: 251 bytes
RevLine 
[9]1! outb() - Output one byte Author: Kees J. Bot
2! 18 Mar 1996
3! void outb(U16_t port, U8_t value);
4
5.sect .text
6.define _outb
7_outb:
8 push bp
9 mov bp, sp
10 mov dx, 4(bp) ! port
11 mov ax, 4+2(bp) ! value
12 outb dx ! output 1 byte
13 pop bp
14 ret
Note: See TracBrowser for help on using the repository browser.