summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
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