[lkml]   [1998]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] APM support doesn't compile with binutils

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");


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

 \ /
  Last update: 2005-03-22 13:41    [W:0.061 / U:36.576 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site