Hi,

Can't think of how to do the following;

An 8 digit number in ASCII stored in 8 bytes need to be converted to a 4 byte hex number.
So 31724529 would become 01E413F1 stored as:
NUM1 = 01
NUM2 = E4
NUM3 = 13
NUM4 = F1

Have tried several methods but failed miserably! Any help, pointers or parts of code will stop me ripping my hair out (not much left now!).

Thanks,
BobP