Re: Problem with SHL instruction
- From: "WahJava" <spamtrap@xxxxxxxxxx>
- Date: 14 Dec 2005 05:12:57 -0800
vj wrote:
> Hello group,
>
> I am new to x86 assembly language programming. I am experiencing a
> wierd problem with SHL insruction. please take a look at listing below:
>
> mov eax, 0ffffffffH
> mov cx, 20 ; shift 32 bits left
>
> i was expecting that after last instruction the register eax will
> contain 0 . however to my surprise it was still set to 0ffffffffH . It
> seems that shl was completely ignored. Can you please tell me whats the
> problem here or is there something aboute shl that i dont know.
>
> Thanks in advance,
> ---
> VJ
BTW, where is SHL instruction in your snippet...
Ashish Shukla alias Wah Java !!
Wah Java !!
.
- References:
- Problem with SHL instruction
- From: vj
- Problem with SHL instruction
- Prev by Date: Re: varargs in C (AMD64 architecture)
- Next by Date: Re: Problem with SHL instruction
- Previous by thread: Re: Problem with SHL instruction
- Next by thread: Re: Problem with SHL instruction
- Index(es):
Relevant Pages
|