aboutsummaryrefslogtreecommitdiffstats
path: root/mbr
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-25 15:10:20 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-02-25 15:10:20 -0800
commit4098fb7f5b886f4875a6cb8f2edfb4f77890d256 (patch)
treecc6b72050f6d7d400d7689470b346a9ee6afdf8c /mbr
parent1594a5c007f2d520c9155628ea13f788a2ace446 (diff)
downloadsyslinux-elf-4098fb7f5b886f4875a6cb8f2edfb4f77890d256.tar.gz
syslinux-elf-4098fb7f5b886f4875a6cb8f2edfb4f77890d256.tar.xz
syslinux-elf-4098fb7f5b886f4875a6cb8f2edfb4f77890d256.zip
gptmbr: addw $512, %bx -> addb $2, %bh
Save one byte...
Diffstat (limited to 'mbr')
-rw-r--r--mbr/gptmbr.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbr/gptmbr.S b/mbr/gptmbr.S
index fa0ae2c4..49414e48 100644
--- a/mbr/gptmbr.S
+++ b/mbr/gptmbr.S
@@ -256,7 +256,7 @@ read_common:
addw $16, %sp /* Drop DAPA */
popal
jc disk_error
- addw $512, %bx /* POint to the next buffer */
+ addb $2, %bh /* bx += 512: point to the next buffer */
ret
disk_error: