UInt8 mask;
mask=0x80;
mask>>=1; // produces 0xC0 as 'mask' would be signed! // correct result: 0x40 // workaround: I must correct the result... mask&=0x7F; // but better way is correct shift behaviour
Log in to post a comment.