I'm implementing C code to copy a 16-bit sign and magnitude integer to an 8-bit sign and magnitude integer. Is that even possible? Could someone please explain how to do this?
code snippet:
int16_t a = 0x1234;
int8_t b, c;
How to copy first two digits to variable b and next two digits to variable c?