diff --git a/pc-bios/optionrom/optionrom.h b/pc-bios/optionrom/optionrom.h index 34d69af898ad4dd71b058979e7e17c268e4ef64e..4dcb90645c53ec5467e18b9288ca560eb3221bc2 100644 --- a/pc-bios/optionrom/optionrom.h +++ b/pc-bios/optionrom/optionrom.h @@ -66,7 +66,10 @@ outw %ax, (%dx); \ mov $BIOS_CFG_IOPORT_DATA, %dx; \ cld; \ - rep insb (%dx), %es:(%edi); + /* old as(1) doesn't like this insn so emit the bytes instead: \ + rep insb (%dx), %es:(%edi); \ + */ \ + .dc.b 0x67,0xf3,0x6c #define OPTION_ROM_START \ .code16; \