aboutsummaryrefslogtreecommitdiffstats
path: root/mbr/isohdpfx.S
diff options
context:
space:
mode:
Diffstat (limited to 'mbr/isohdpfx.S')
-rw-r--r--mbr/isohdpfx.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbr/isohdpfx.S b/mbr/isohdpfx.S
index 2d65c7d7..ece37a76 100644
--- a/mbr/isohdpfx.S
+++ b/mbr/isohdpfx.S
@@ -131,7 +131,7 @@ next:
call read_sector
jc disk_error
incl %eax
- addw $512, %bx
+ addb $(512 >> 8), %bh
loopw 2b
/*