My int values:
int a= 0x02; int b= 1; int c= 2; int d = 0; int e = 0; int f = 0; int g= 1;
How can I concatenate these integers and get a single int value?
and the result int value should have first 8 bits for “a” and 4 bits each for the rest??
Something like : 2120001
Yields:
2120001