[an error occurred while processing this directive]
|
u8 temp,temp2;
//12.34
u8 b1=0, b2=0x12, b3= 0x34;
u8 c1, c2, c3;long x;
x = 10*((0xF0 & b3) > > 4) + (0x0F & b3);
x += 1000*((0xF0 & b2) > > 4) + 100*(0x0F & b2);
x += 100000*((0xF0 & b1) > > 4) + 10000*(0x0F & b1);x *= 187;
x /= 100;temp = x % 100;
c3 = ((temp / 10) < < 4) + (temp % 10);
x /= 100;
temp = x % 100;
c2 = ((temp / 10) < < 4) + (temp % 10);
x /= 100;
c1 = ((temp / 10) < < 4) + (temp % 10);