i386: Remove needless ADDR32 prefixes when address is known and fixed.
Shaves off 6 bytes in lzma_decompress.img.
This commit is contained in:
parent
1998d63688
commit
37353f0ae5
2 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ LOCAL (codestart):
|
|||
sti /* we're safe again */
|
||||
|
||||
/* save the boot drive */
|
||||
ADDR32 movb %dl, LOCAL(boot_drive)
|
||||
movb %dl, LOCAL(boot_drive)
|
||||
|
||||
/* reset disk system (%ah = 0) */
|
||||
int $0x13
|
||||
|
|
|
@ -137,7 +137,7 @@ real_to_prot:
|
|||
/* load the GDT register */
|
||||
xorw %ax, %ax
|
||||
movw %ax, %ds
|
||||
ADDR32 lgdtl gdtdesc
|
||||
lgdtl gdtdesc
|
||||
|
||||
/* turn on protected mode */
|
||||
movl %cr0, %eax
|
||||
|
|
Loading…
Reference in a new issue