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

MOLNAR Ingo (mingo@chiara.csoma.elte.hu)
Wed, 25 Mar 1998 21:06:36 +0100 (CET)


On Wed, 25 Mar 1998, H. J. Lu wrote:

> Can someone please tell me the correct opcode for "pushl %ds"
> and by what increment esp is changed by "pushl %ds"?

80484a9: 1e pushl %ds <=== 32 bit PUSH
80484aa: 66 1e pushl %ds <=== 16 bit PUSH

32 bit push increments esp by 4. 16 bit push increments by 2. At least on
the P54C/S5 i have.

current GAS behavior:

ASM("pushb %ds");
ASM("pushw %ds");
ASM("pushl %ds");
ASM("push %ds");

generates:

80484a9: 1e pushl %ds
80484aa: 66 1e pushl %ds
80484ac: 1e pushl %ds
80484ad: 1e pushl %ds

-- mingo

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