Darkstar64
New Member
Here is the make error im getting its never done it before just kinda showed up today when I opened the file and the code that the error is on is below thanks for the help
Code:
----------------------------------------------------------------------
Release build of project `C:\PIC12F509\Programs\LED_Matrix.mcp' started.
Wed Sep 03 18:03:53 2008
----------------------------------------------------------------------
Make: The target "C:\PIC12F509\Programs\LED_Matrix.o" is out of date.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /p12F509 "LED_Matrix.ASM" /l"LED_Matrix.lst" /e"LED_Matrix.err" /o"LED_Matrix.o"
Error[116] C:\PIC12F509\PROGRAMS\LED_MATRIX.ASM 96 : Address label duplicated or different in second pass (loop)
Halting build on first failure as requested.
----------------------------------------------------------------------
Release build of project `C:\PIC12F509\Programs\LED_Matrix.mcp' failed.
Wed Sep 03 18:03:54 2008
----------------------------------------------------------------------
BUILD FAILED
Code:
;****************** Delay Subroutine ( 100 µs )
Delay ; Delay W x 100 µs
movlw .25 ; Delay = ( N x 4 - 1 + 2 cycles = N x 4 + 1 )
movwf dc ; Writes 25 or N to register
loop nop ; No Operation
decfsz dc,f ; Decrement Counter
goto loop ; If Decrement Counter is 0 then skips this if its not 0 then it loops untill 0
retlw 0
Last edited: