diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-01-22 14:35:51 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-01-22 14:36:09 -0800 |
commit | 913349589c4071a1096dbfd18600ded56d53d709 (patch) | |
tree | a6b98af59490b759db985b4ac5045376a902c817 | |
parent | e59f1c02623fb0e899d91482e1df418514baf602 (diff) | |
download | syslinux-913349589c4071a1096dbfd18600ded56d53d709.tar.gz |
mbr.S: save one more bytesyslinux-3.61-pre3
%ax is set to zero at the top; we then set it to 0x4100, so we only
need to change %ah, not all of %ax.
-rw-r--r-- | mbr/mbr.S | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,7 +68,7 @@ _start: next: /* Check to see if we have EBIOS */ pushw %dx /* drive number */ - movw $0x4100, %ax + movb $0x41, %ah /* %al == 0 already */ movw $0x55aa, %bx xorw %cx, %cx xorb %dh, %dh |