summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-10 22:31:48 +0200
committerMiguel <m.i@gmx.at>2018-09-10 22:31:48 +0200
commita7ca82133bcb8139bb9d11aa717657ef42ab6cfe (patch)
treebefef8186e0adb819ae77b9fc89c9a37b900859f /asm
parentfe83c82693ae231368d1e8c196fb975c3df1dd30 (diff)
fixed bug in asm_pit_rate_
Diffstat (limited to 'asm')
-rw-r--r--asm/asm_pit.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/asm_pit.s b/asm/asm_pit.s
index 28fd784..d9401ee 100644
--- a/asm/asm_pit.s
+++ b/asm/asm_pit.s
@@ -38,7 +38,7 @@ asm_pit_tick:
outb %al,$0x43
// LSB first
- mov \val, %dx
+ mov \val, %ax
out %al, $0x40
xchg %ah,%al
out %al, $0x40