aboutsummaryrefslogtreecommitdiffstats
path: root/mbr
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-09-08 17:18:35 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-09-08 17:18:35 -0700
commit96f114108debb38bacbe2007e3c594a87e968c1b (patch)
treedbe261df3f60bda9cec5a2a09440f179f61189d3 /mbr
parent46ba1f1383bf6dda8e8461a6a4704066ebce57d7 (diff)
downloadsyslinux-elf-96f114108debb38bacbe2007e3c594a87e968c1b.tar.gz
syslinux-elf-96f114108debb38bacbe2007e3c594a87e968c1b.tar.xz
syslinux-elf-96f114108debb38bacbe2007e3c594a87e968c1b.zip
isohdpfx: save one byte
Save one byte in isohdpfx.S. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'mbr')
-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
/*