hello my question is that i want 16 Byte hex address by combining to 8 byte hex values as follows:
unsigned long addr; unsigned char buf[3]; buf[0]=0x81; // msb buf[1]=0x23; // lsb ... printf("%lx", &addr); //output: addr = 0x8123
i want to retrieve from this array one hex address into 'addr' variable. my output is: addr = 0x8123.
thanks in advance
Malundii ?
Or, given his favourite citation, perhaps it should be a "Testament" or even a "Canon"...?!
What thread are you commenting? You don't have any previous comment that anyone have reacted to. That seems unnecessary for the "make the fried pigeons fly in through the window" crowd, just have a look at how often my name has been used in this thread.
Erik
"just have a look at how often my name has been used in this thread."
Will the real Malund please stand up.
How about changing this forum to a "registration required" one?
-- J
A bit of light relief from Mr Malund and his extended family break the boredom ;)