Re: [PATCH] APM support doesn't compile with binutils 2.8.1.0.24

H. J. Lu (hjl@freya.yggdrasil.com)
Wed, 25 Mar 1998 12:23:11 -0800 (PST)


>
> >
> >
> >
> > On Wed, 25 Mar 1998, H. J. Lu wrote:
> > >
> > > I double checked my Intel reference manual. As I understand,
> > > cs/ds/es/fs/gs/ss are all 16-bit registers. The old gas is wrong.
> > > There are no valid opcodes for pushl/popl. It will only cause
> > > confusion since pushl/popl mean change esp by 4 bytes.
> >
> > But that is what it is _supposed_ to do. "pushl" _will_ change %esp by 4
> > bytes. The fact that %ds is a 16-bit register is immaterial.
>
> I see.

After I doule checked with my Intel manual, I don't think it
is true. Can you show me an example with opcodes for "pushl %ds"
and %esp is changed by 4 bytes?

H.J.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu