I want to fit "10"(Integer) in format like
000001 00 i.e. first number in six bits and second in two bits
so that finally i read it as 04 in Integer
could anyone suggest how can i do this ?
I am trying with
UINT a : 6;
UINT b : 2;
obj.a = 1;
obj.b = 0;
but i don't know how to proceed with...
please suggest the solution..
Thanks & Regards