I have an 8 bit binary value in a register and would like to turn this in to three digits of ascii for output on a LED display. I am using a 16c74. I have found one possible soulution on a PIC FAQ but do not understand the command 'BNC' Here is the code. ----------------------------------------------------------------------- LIST R=DEC ASCIIO EQU .... ;A FILE REGISTER. ASCIIT EQU .... ;ANOTHER FILE REGISTER. ASCIIH EQU .... ;ANOTHER FILE REGISTER. ; ENTER WITH ORIGINAL 8-BIT VALUE IN "ASCIIO". EXITS WITH ASCII ; REPRESENTATION OF ONES' DIGIT IN "ASCIIO", TENS' DIGIT IN "ASCIIT", ; AND HUNDREDS' DIGIT IN "ASCIIH". CONVRT MOVLW '0' MOVWF ASCIIH MOVWF ASCIIT DO100S MOVLW 100 SUBWF ASCIIO,W BNC DO10S MOVWF ASCIIO INCF ASCIIH GOTO DO100S DO10S MOVLW 10 SUBWF ASCIIO,W BNC ADJUST MOVWF ASCIIO INCF ASCIIT GOTO DO10S ADJUST MOVLW '0' ADDWF ASCIIO ------------------------------------------------------------------------ If this code is incorrect please let me know. If you know how to solve my problem your help would be much appreciated. Thanks Dave Birchall Student at Loughborough University, England. E-Mail d.birchall-94@student.lboro.ac.uk