??? 10/21/10 15:56 Read: times Msg Score: -2 -2 Answer is Wrong |
#179242 - Thats the point Responding to: ???'s previous message |
If i!=0. You cannot assume that shifting a bit all the way will not rotate and thus becoming 0x01 again because that could be compiler dependent. I will note that after simulating the code Keil takes care of this issue that I might have had with this concept. I will point out that if optimizations are turned on, P2 does not activate in the simulator. Hence, if no LED is on, check the optimization settings and set it to 0. |