??? 03/26/04 01:22 Read: times |
#67432 - RE: hex to decimal assembly Responding to: ???'s previous message |
Oh...
Ok i got ya. Just to let you know Ben Weech, ascii is just a number code, not much you can do about it. I think the most simple you can get is a loop, each one for 100s digit, 10s digit, and then use the remainder for the 1s digit. Afterward, just add the number 30 to each stored digit to turn it into ascii format. Of course, you will require 3 bytes in order to do this, one for the Hundreds, tens, and ones. Here is a mini chart for the numbers: number -- ascii code (decimal) 0 -- 30 1 -- 31 2 -- 32 3 -- 33 4 -- 34 5 -- 35 6 -- 36 7 -- 37 8 -- 38 9 -- 39 Unless you are talking about a number in ascii format that is in hex, convert it into "computer format", and then convert it into ascii format in decimal? |
Topic | Author | Date |
hex to decimal assembly | 01/01/70 00:00 | |
RE: hex to decimal assembly | 01/01/70 00:00 | |
RE: hex to decimal assembly | 01/01/70 00:00 | |
RE: hex to decimal assembly | 01/01/70 00:00 | |
RE: hex to decimal assembly | 01/01/70 00:00 | |
RE: hex to decimal assembly | 01/01/70 00:00 | |
RE: hex to decimal assembly | 01/01/70 00:00 | |
RE: hex to decimal assembly | 01/01/70 00:00 | |
RE: hex to decimal assembly | 01/01/70 00:00 | |
RE: hex to decimal assembly | 01/01/70 00:00 | |
RE: hex to decimal assembly | 01/01/70 00:00 | |
Back to basics | 01/01/70 00:00 | |
RE: hex to decimal assembly | 01/01/70 00:00 | |
RE: hex to decimal assembly | 01/01/70 00:00 | |
RE: hex to decimal assembly | 01/01/70 00:00 | |
Forgot a few stuff, continuing on... | 01/01/70 00:00 | |
Number representations | 01/01/70 00:00 | |
Erm... Another correction to myself![]() | 01/01/70 00:00 |