Hi there,
I would like to know why the overflow flag changes when I do the next shift:
volatile int unsigned temp = 0x4000;
temp <<= 1;
The variable temp has 2 bytes and takes 0x8000 as its new value but I don't understand why the overflow flag (V) changes to 1.
Do you have any idea?
Thanks,
Andres Rada.