12-21-2009 08:12 PM
Hi,
I need to convert hex number into binary number array.
Can someone show me how?
For example,
num1 = 0xFA
I need to put into binary array,
index 0 1 2 3 4 5 6 7
value (LSB)0 1 0 1 1 1 1 1(MSB)
Thank you.
Solved! Go to Solution.
12-21-2009 08:26 PM
12-21-2009 10:55 PM
12-21-2009 10:56 PM
here you go ..
Guru
12-21-2009 11:07 PM - edited 12-21-2009 11:09 PM
Guruthilak wrote:here you go ..
Guru
There's a couple of issues with this solution:
12-21-2009 11:07 PM
Guru,
You are generating a string array instead of a number array like the op asked for and the order of your array is reversed.
What srikrishnaNF and smercurio_fc are descibing is this simple code.