HEXTOASC3: MOV A,@R0 ANL A,#0FH ADD A,#90H DA A ADDC A,#40H DA A MOV @R1,A INC R1 MOV A,@R0 SWAP A ANL A,#0FH ADD A,#90H DA A MOV @R1,A INC R1 INC R0 DJNZ R2, HEXTOASC3 DEC R1 RET