repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
. pci driver now returns devices, even when they have been pci_reserve()d
[minix3.git]
/
lib
/
i86
/
misc
/
io_outb.s
blob
1dd4c413ab8fc7fe8ddc22e8fe1fc8d4269a6ba2
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