Hi, I'm having problems assembling a set of 4 bytes into a long int. My approach has been this:
ulong temp; temp = (temp << SHIFT_BYTE) | getByte(); temp = (temp << SHIFT_BYTE) | getByte(); temp = (temp << SHIFT_BYTE) | getByte(); temp = (temp << SHIFT_BYTE) | getByte(); return temp;
View all questions in Keil forum