Hi - first post here :)
I've got a code like this in C:
unsigned char const data[ ] = {0x0a, 0x1d, 0xf0, 0x07};
I need to extract it such that the final value is:
0xa1df7
I have only been able to extract and get it working if the hex values that have at least 1 zero:
unsigned char const data[ ] = {0x0a, 0xd0, 0xf0,
…