| ??? 05/13/06 05:56 Read: times |
#116153 - simply... Responding to: ???'s previous message |
... call the routine and then do some thing like this:
mov A,#value ; the value to be converted
acall hex_asc ; call Peter's routine
xch A,B ; swap A and B
acall putc ; output Ascii in Acc (B value) to your LCD
xch A,B ; swap back
acall putc ; output Ascii in Acc from Peter's rout
I tried his routine and it works flawlessly. Very neat way to solve this in few lines of code. |
| Topic | Author | Date |
| its not working | 01/01/70 00:00 | |
| Easier to read | 01/01/70 00:00 | |
| Have you tried a simulator? | 01/01/70 00:00 | |
| It works | 01/01/70 00:00 | |
| i have also that | 01/01/70 00:00 | |
| another way: | 01/01/70 00:00 | |
| cute | 01/01/70 00:00 | |
| mr peter | 01/01/70 00:00 | |
simply... | 01/01/70 00:00 |



