diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-02-25 15:25:29 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-02-25 15:25:29 -0800 |
commit | 45ba7656f6bf6b46ed9e82fd257340b023f6d457 (patch) | |
tree | 1d8f065884ab12b0b08cbb37ca81c01e0cb9f27c | |
parent | bd68053c3c50a344fb412a476302900e298d53ee (diff) | |
download | syslinux.git-45ba7656f6bf6b46ed9e82fd257340b023f6d457.tar.gz syslinux.git-45ba7656f6bf6b46ed9e82fd257340b023f6d457.tar.xz syslinux.git-45ba7656f6bf6b46ed9e82fd257340b023f6d457.zip |
gptmbr: use xchgw %ax,... instead of movw %ax,... when %ax is dead
xhcgw with %ax and a register is one byte shorter than movw with %ax
if %ax is then dead.
-rw-r--r-- | mbr/gptmbr.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbr/gptmbr.S b/mbr/gptmbr.S index 20a46a25..8bc5e41d 100644 --- a/mbr/gptmbr.S +++ b/mbr/gptmbr.S @@ -161,7 +161,7 @@ find_part: .ascii "Boot partition not found\r\n" found_part: - movw %ax,%cx /* Set up %cx for rep movsb further down */ + xchgw %ax,%cx /* Set up %cx for rep movsb further down */ movw $dssi_out,%di pushw %di |