AnsweredAssumed Answered

<< shift easy question

Question asked by pokorny.ondrej on Oct 10, 2013
Latest reply on Oct 21, 2013 by luca
Hello, I have a simple question:
uint32_t temp;
temp |=  ((uint32_t)1 << 16);
without retyping it does not work (although if I add the expression to Watch, it shows expected 1 on 16th bit of temp). Why? I use Cosmic compiler and STM8S207...
Thank You