Result of logic operation on 8-bits data need to casts
Posted on May 16, 2017 at 23:42Hello,In STVD (+Cosmic) C compiler settings I choose *Display Errors & Warnings*.I wrote simple code:uint8_t a=0x01;uint8_t b=0x10;void test (uint8_t licz) { }void main (void) { test (a & 0x01); test (a | b); ...