gptmbr: addw $512, %bx -> addb $2, %bh
authorH. Peter Anvin <hpa@zytor.com>
Mon, 25 Feb 2008 23:10:20 +0000 (15:10 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 25 Feb 2008 23:10:20 +0000 (15:10 -0800)
Save one byte...

mbr/gptmbr.S

index fa0ae2c..49414e4 100644 (file)
@@ -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: