Messages in this thread | | | Date | Sat, 05 Sep 1998 14:32:51 -0400 | From | Joseph Malicki <> | Subject | Re: [ERROR-2.1.120] APM compilation fails |
| |
Alan Cox wrote:
> > APM compilation fails under 2.1.120 w/ quite old binutils [I > > know I am to blame here, but just FYI]. It complains in statements > > like this [compiled to assembler apm_bios.c]: > > Actually I'm not so sure. > > > > movw %ebx, %es > > > movw %ebx, %fs > > > movw %ebx, %gs > > That should be > > movw %bx, %es > > %ebx is a 32bit register > > Alan >
According to my intel docs, movl %ebx,%es would be preferable, as it seems to generate shorter code and uses less clock cycles, despite the zeroing of the high word.
Joseph Malicki [unhandled content-type:application/x-pkcs7-signature] | |