
       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
