Hi all I write a sample code like a = 1 << b; when b = 0 , The result for a will get 2 If I uncheck "Enable ANSI integer promotion rules " ,It will get correct answer 1 can anyone tell me why ?? Thanks a lot
Thank to Graham I also think the asm code is fine, but I realy got a wrong answer >< maybe I have setting something wrong。 For now,I just use switch-case to do this sample work.