summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/boot0/boot0.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/boot0/boot0.s b/sys/boot/i386/boot0/boot0.s
index 85ce25a..eccdd50 100644
--- a/sys/boot/i386/boot0/boot0.s
+++ b/sys/boot/i386/boot0/boot0.s
@@ -81,7 +81,7 @@ start: cld # String ops inc
#
movw $fake,%bp # Address variables
movw %bp,%di # %di used in stosw
- movb $0x8,%cl # Words to clear
+ movw $0x8,%cx # Words to clear
rep # Zero
stosw # them
incb -0xe(%di) # Sector number 1
OpenPOWER on IntegriCloud