gptmbr: since %bx is advanced, we can test -2(%bx) == (bootsec+510)
authorH. Peter Anvin <hpa@zytor.com>
Mon, 25 Feb 2008 23:11:28 +0000 (15:11 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 25 Feb 2008 23:11:28 +0000 (15:11 -0800)
commit241be5df8baa2089a635a2a373e5a219d184015d
treebb67d7c80df1ba6b566c656fdb2e526cba8b1e2c
parent4098fb7f5b886f4875a6cb8f2edfb4f77890d256
gptmbr: since %bx is advanced, we can test -2(%bx) == (bootsec+510)

With %bx advanced to the end of the boot sector, we can use -2(%bx)
instead of (bootsec+510), thus saving one byte.
mbr/gptmbr.S