/SPARTAN/trunk/arch/ia32/src/asm.S |
---|
40,7 → 40,6 |
.global inb |
.global inw |
.global inl |
.global outb |
.global outw |
.global outl |
.global memcpy |
193,21 → 192,6 |
ret |
## I/O output (byte) |
# |
# Send a byte to I/O port. |
# |
outb: |
push %eax |
movl 8(%esp),%edx |
movl 12(%esp),%eax |
outb %al,%dx |
pop %eax |
ret |
## I/O output (word) |
# |
# Send a word to I/O port. |