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

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

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