| ??? 11/26/01 09:33 Read: times |
#16921 - RE: ASCII to decimal or hexadecimal routine |
...... mov a,variable mov b,#100 div ab mov digit1,a ; save first digit mov a,b mov b,#10 div ab mov digit2,a ; save 2nd digit mov digit3,b ; save 3rd digit ...... variable is the ASCII in hexadecimal. You can use digit1,digit2,and digit3 at internal RAM of Microcontroller like 30h,31h, and 32h. best regards |
| Topic | Author | Date |
| ASCII to decimal or hexadecimal routine | 01/01/70 00:00 | |
| RE: ASCII to decimal or hexadecimal routine | 01/01/70 00:00 | |
| RE: ASCII to decimal or hexadecimal routine | 01/01/70 00:00 | |
| RE: ASCII to decimal or hexadecimal routine | 01/01/70 00:00 | |
| RE: ASCII to decimal or hexadecimal routine | 01/01/70 00:00 | |
RE: ASCII to decimal or hexadecimal routine | 01/01/70 00:00 |



