Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/02/01 10:21
Read: times


 
#15337 - RE: HEX TO ASCII CODE
DON'T SHOUT!! (ie, turn off your caps lock!)

Are you saying you want to convert a byte value, eg, 0xA5, to the ASCII characters 'A' and '5'?

The simplest way is probably to use a lookup table on each nibble.

I've got an ASCII table at http://www.8052.com/users/awneil/charset.gif (actually, it's the IBM-PC extended character set, but they're the same for the printable codes up to 127)

List of 13 messages in thread
TopicAuthorDate
HEX TO ASCII CODE            01/01/70 00:00      
   RE: HEX TO ASCII CODE            01/01/70 00:00      
RE: HEX TO ASCII CODE            01/01/70 00:00      
RE: HEX TO ASCII CODE            01/01/70 00:00      
RE: HEX TO ASCII CODE            01/01/70 00:00      
RE: HEX TO ASCII CODE            01/01/70 00:00      
RE: HEX TO ASCII CODE            01/01/70 00:00      
RE: HEX TO ASCII CODE            01/01/70 00:00      
RE: HEX TO ASCII CODE            01/01/70 00:00      
RE: HEX TO ASCII CODE - Peter            01/01/70 00:00      
RE: HEX TO ASCII CODE - Peter            01/01/70 00:00      
RE: HEX TO ASCII CODE - Peter            01/01/70 00:00      
RE: HEX TO ASCII CODE            01/01/70 00:00      

Back to Subject List