aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbr/mbr_ho.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbr/mbr_ho.S b/mbr/mbr_ho.S
index 8bb9d616..a73b4a66 100644
--- a/mbr/mbr_ho.S
+++ b/mbr/mbr_ho.S
@@ -298,15 +298,17 @@ wrhexb:
call wrhexn
popw %ax
call wrhexn
- pushw %cx
+ popw %cx
ret
wrhexw:
+ pushw %cx
movb $8, %cl
rorw %cl, %dx
call wrhexb
rorw %cl, %dx
call wrhexb
+ popw %cx
ret
ASCII_MARKER1 "HE"