Problem with SHL instruction
- From: "vj" <spamtrap@xxxxxxxxxx>
- Date: 13 Dec 2005 22:06:04 -0800
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
.
- Follow-Ups:
- Re: Problem with SHL instruction
- From: repete
- Re: Problem with SHL instruction
- From: WahJava
- Re: Problem with SHL instruction
- From: jukka@xxxxxxxxxxxx
- Re: Problem with SHL instruction
- Prev by Date: Re: Using SS for non-stack operations?
- Next by Date: Re: how to compare the string?
- Previous by thread: how to compare the string?
- Next by thread: Re: Problem with SHL instruction
- Index(es):
Relevant Pages
|