Micro Lover
Member level 2
hi
i m using Keil, and C language
the problem is that, i have one decimal number, like 27, that will be 11011 in binary, but if i split the 27 then it will be "2" and "7" , in binary, "10" and "111", i want to convert it to "00100111", the first four bits(right site) for 7 and other 4 for 2.
how can i convert it?
i m using Keil, and C language
the problem is that, i have one decimal number, like 27, that will be 11011 in binary, but if i split the 27 then it will be "2" and "7" , in binary, "10" and "111", i want to convert it to "00100111", the first four bits(right site) for 7 and other 4 for 2.
how can i convert it?