aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbr/gptmbr.S2
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