I need turn a 6 digit hex number into an 8 digit hex number with the 6 digits the least significant digits of the 8 digit number.
In otherwords lets say I have... A00BCD, I need to end up with FFA00BCD. The leading FF in the 8 digit number will always be FF and range from FF000000 to FFFFFFFF.
I know there must be an easy way to do this in C but it is escaping me.
Thanks
In otherwords lets say I have... A00BCD, I need to end up with FFA00BCD. The leading FF in the 8 digit number will always be FF and range from FF000000 to FFFFFFFF.
I know there must be an easy way to do this in C but it is escaping me.
Thanks