Hi,
I am doing an left shift operation and it is working in rotation. (Using compiler version TI v16.9.4.LTS)
temp1 = (Uint32)(0x3UL << 56);
I am getting result this.
temp1 = 50331648 (00000011000000000000000000000000b)
Result should be this
temp1 = 0
Please explain this undefined behavior of left shift.
Regards,
Shubham