According to the manual a 115 error is "Duplicate label" "A label was declared as a constant(eg with EQU or CBLOCK directive) in more than one location" Hope this helps Eric Naus -----Original Message----- From: Stephen Court To: PICLIST@MITVMA.MIT.EDU Date: Thursday, January 29, 1998 9:21 PM Subject: MPASM Error 115 ? [16C84] >I've been trying to compile someone elses code using the MPASM assembler v2.01 (Windows). It has worked for them, but not me :( > >I get the following error message: > >Error[115] PIC03V10.ASM 79 : Duplicate label ("PK_ADDR" or redefining symbol that cannot be redefined) > >It seems to be complaining about: >PK_ADDR equ RxBuf+0 >PK_LEN equ RxBuf+1 >PK_CMD equ RxBuf+2 >PK_DATA1 equ RxBuf+3 >PK_DATA2 equ RxBuf+4 >PK_CHK equ RxBuf+5 > >RxBuf is being used as a 6byte buffer for serial input, previously defined with RxBuf res 6. PK_ADDR is the first byte (file register) within the buffer, PK_LEN is the second etc. If this method isn't allowed by MPASM, how do I directly access the individual bytes within the buffer ? > >I've read that MPASM has become more stringent in its error checking, but I haven't found any reference to the error 115. >Any ideas ? > >Stephen Court scourt@electra.com.au >Electra International http://www.electra.com.au >Automotive Electronics Diagnostic Equipment >Unit 2, 15 Anthony Street, ph +61 7 3846 3393 >West End, Brisbane fax +61 7 3846 3282 >Queensland 4101 Australia