June 01, 2006 inline asm issues | ||||
---|---|---|---|---|
| ||||
I'm generating the following inline asm: asm { naked ; mov EAX, dword ptr [0xFFFFFFFF] ; } when it compiles, it compiles as the following: 00402230 B8 FFFFFFFF MOV EAX,0FFFFFFFF when I want this: 00402230 A1 FFFFFFFF MOV EAX,DWORD PTR DS:[0FFFFFFFF] what am I doing wrong? |
June 01, 2006 Re: inline asm issues | ||||
---|---|---|---|---|
| ||||
Posted in reply to akcom Attachments: | akcom schrieb am 2006-06-01:
> I'm generating the following inline asm:
>
> asm
> {
> naked ;
> mov EAX, dword ptr [0xFFFFFFFF] ;
> }
>
> when it compiles, it compiles as the following:
> 00402230 B8 FFFFFFFF MOV EAX,0FFFFFFFF
>
> when I want this:
> 00402230 A1 FFFFFFFF MOV EAX,DWORD PTR DS:[0FFFFFFFF]
>
> what am I doing wrong?
#
# mov EAX, dword ptr DS:[0xFFFFFFFF];
#
Thomas
|
Copyright © 1999-2021 by the D Language Foundation