The label, TABLE_END is defined twice. Since a lable is actually an address, it cannot point to two different addresses. Make the first TABLE_END1 and the second TABLE_END2 and the problem should be gone. Hope it helps! Niki steenkmp@firga.sun.ac.za > This is the code that I'm trying to use, its taken straight form the > microchip app. note with little understanding on my part as to what the > table end really is for. > > ;---------------------------------------------------------------------------- > MESSAGE1 > MOVLW 0 ;TABLE ADDRESS OF START OF MESSAGE > dispmsg1 > MOVWF MSG_TEMP ; MSG_TEMP HOLDS START OF MESSAGE ADDRESS > CALL TABLE1 > ANDLW 0XFF ; CHECK IF AT END OF MESSAGE > BTFSC STATUS,Z ; (ZERO RETURNED AT END) > GOTO out1 > CALL SEND_CHAR ; DISPLAY THE CHARACTER > MOVF MSG_TEMP,W ; POINT TO NEXT CHARACTER > ADDLW 1 > GOTO dispmsg1 > out1 > RETURN > > > TABLE1 > ADDWF PCL > RETLW '*' > RETLW '*' > . > . > . > TABLE_END > RETLW 0 > > ;---------------------------------------------------------------------------- > MESSAGE2 > MOVLW 0 ;TABLE ADDRESS OF START OF MESSAGE > dispmsg2 > MOVWF MSG_TEMP ; MSG_TEMP HOLDS START OF MESSAGE ADDRESS > CALL TABLE2 > ANDLW 0XFF ; CHECK IF AT END OF MESSAGE > BTFSC STATUS,Z ; (ZERO RETURNED AT END) > GOTO out2 > CALL SEND_CHAR ; DISPLAY THE CHARACTER > MOVF MSG_TEMP,W ; POINT TO NEXT CHARACTER > ADDLW 1 > GOTO dispmsg2 > out2 > RETURN > > TABLE2 > ADDWF PCL > RETLW '*' > RETLW '*' > . > . > . > > TABLE_END > RETLW 0 > ;---------------------------------------------------------------------------- > ;---------------------------------------------------------------------------- > > The error is stated as: > > "ADDRESS LABEL DUPLICATED OR DIFFERENT IN SECOND PASS (TABLE_END)" > > Hope this makes it easier to identify the problem. > > Thanks > _/ _/ _/_/_/_/ > _/ _/ _/ _/ > _/ _/ _/ _/ > _/ _/ _/ _/_/_/_/ > _/ _/ _/ _/ _/ _/ > _/_/ _/_/ _/ _/ > _/ _/ _/ _/_/_/_/ > > Wayne Bennett > Griffith University > Brisbane Australia > w.bennett@sct.gu.edu.au >