> > Hi ! > > I have a little problem. I should convert a 16 bit value to > > ASCII-characters. > > > > 2 bytes -> '9' '9' '9' '9' four separate ASCII-chars. > > > > The 16 bit value can not be greater than 9999, so 4 digits will be enough. > > Do you have any solution? > > > > Greetigs, Juha Do a BCD adjust to each nibble starting with the least significant nibble. After you've done this, you just need to seperate each nibble and add the appropriate offset to nibble to get the ascii value. Kind regards, Stefan