Jump to content

  • Log In with Google      Sign In   
  • Create Account

papalazaru

Member Since 21 Mar 2003
Offline Last Active May 13 2013 06:12 AM
-----

Topics I've Started

shl, bitshifting by 32 bits, does nothing. nothing!

21 December 2012 - 08:37 AM

003BDCFB  mov         eax,dword ptr [outword] 
003BDCFE  mov         ecx,dword ptr [out32] 
003BDD01  mov         edx,dword ptr [ecx+eax*4] 
003BDD04  mov         ecx,dword ptr [outarea] 
003BDD07  shl         edx,cl 

 

slightly bit puzzled, I am bitshifting by 32 bits, which effectively would clear the variable (edx) to 0x00000000, but shl actually does nothing at all. edx remains unchanged (EDX = 0xfdfdfdfd).

Just double chekcing that's the expected behaviour, or am I reading this wrong? Gonna have to change my logic :(


Visual Studio 9 search results steal keyboard focus

04 December 2012 - 06:57 AM

Just something that annoys me mildly.

I may start a 'find in files' search, which will take a while, and then I'll be doing some other stuff in the editor window in the meanwhile, and all the sudden the focus shifts to the Find Window when the search completes. Any way to stop VS doing that? I didn't find any options in the tools-> options menu, maybe someone who is equally crossed with this found a way to stop this frankly pointless behaviour.

PARTNERS