??? 05/12/06 20:29 Read: times Msg Score: -2 -2 Message Not Useful |
#116133 - i have also that Responding to: ???'s previous message |
Usage: ;
; mov a, #byte ; ; CALL Byte2ascii ; ; ; ; Returns: ; ; B= high nibble ; ; A= low nibble ; ; *************************************************** ; Byte2ascii: mov b, a swap a acall Nibble2ascii xch a, b Nibble2ascii: anl a, #0x0f inc a movc a, @a+pc ret .ascii "0123456789ABCD" |
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 |