From 4098fb7f5b886f4875a6cb8f2edfb4f77890d256 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Mon, 25 Feb 2008 15:10:20 -0800 Subject: [PATCH] gptmbr: addw $512, %bx -> addb $2, %bh Save one byte... --- mbr/gptmbr.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbr/gptmbr.S b/mbr/gptmbr.S index fa0ae2c..49414e4 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: -- 2.7.4