Build's fail when .ASM is within project directory

Discussion topics related to the 32-bit version of MPLAB IDE version 6.xx and later.

Build's fail when .ASM is within project directory

Postby Cereal_Killer » Wed Dec 17, 2014 7:33 pm

Hey guy's, new here, registered after my 3r failed attempt to post this at microchip forums...

I just got a new computer, a new Dell running windows 8.1 ("upgraded" [if you will] from vista on my 5 year old dell). I downloaded a fresh version of IDE 8.92 and XC8 (I work mostly in assembly but do have some C project's). I then transferred all my file's from my old computer on a USB stick.


I got the app's installed and running, I was in a hurry and so Ioaded some pre-assembled project's I needed to flash and had no problem doing that with my PK3 at first but then when I needed to make code changes is when the issue came about. Let me explain (it's a strange one):
When I try to assemble the project I would get 2 pages worth of errors, the trouble codes it gives me are error 116 and 122 and warning 207 (but it gives numerous occurrences of each). So anyway after some digging I figure out I can move all the project files into the project directory but the .ASM. When I move the actual source file is when the problem happens, if I leave it on the USB stick and use it from there it will build perfectly (with ALL other files, including the .MCW in the final project directory I want them in). Well I figure the file has to be corrupting right? Wrong, I have compared the files from the USB stick and after being moved and they are exactly identical, NOTHING is changing. Once I move it onto my hard drive it no longer works but when it's on the USB stick it's fine.

What the heck is up with that?! Help me out guy's, this is killing me! Atleast there's a work around for now but there must be some little setting I'm screwing up or something and I can not figure it out on my own.

Thanks in advance for any assistance! If you need to see my code or whatever let me know.
Dan
Cereal_Killer
 
Posts: 6
Joined: Wed Dec 17, 2014 7:27 am
Location: Columbus, OH, USA, Earth
PIC experience: Experienced Hobbyist

note: C based project's in XC8 have no issue

Postby Cereal_Killer » Wed Dec 17, 2014 7:35 pm

Ok here's 2 build log's, one from a failure (with the .ASM in the project directory) and then the same thing but with the .ASM on the USB stick with it working-

----------------------------------------------------------------------
Release build of project `C:\Users\Dan\Documents\MPLAB\RGBW_Clicky\RGBW_Clicky.mcp' started.
Language tool versions: MPASMWIN.exe v5.51, mplink.exe v4.49, mplib.exe v4.49
Wed Dec 17 13:45:09 2014
----------------------------------------------------------------------
Make: The target "C:\Users\Dan\Documents\MPLAB\RGBW_Clicky\RGBW_Clicky.o" is out of date.
Executing: "C:\Program Files (x86)\Microchip\MPASM Suite\MPASMWIN.exe" /q /p12F617 "RGBW_Clicky.ASM" /l"RGBW_Clicky.lst" /e"RGBW_Clicky.err" /o"RGBW_Clicky.o"
Error[105] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 35 : Cannot open file (Include File "instructions.inc" not found)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 124 : Found label after column 1. (ifclr)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 124 : Illegal opcode (flags)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 175 : Found label after column 1. (bank1)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 185 : Found label after column 1. (bank1)
Error[116] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 185 : Address label duplicated or different in second pass (bank1)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 212 : Found label after column 1. (ifclr)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 212 : Illegal opcode (ZERO)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 214 : Found label after column 1. (bank0)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 221 : Found label after column 1. (bank1)
Error[116] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 221 : Address label duplicated or different in second pass (bank1)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 230 : Found label after column 1. (bank0)
Error[116] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 230 : Address label duplicated or different in second pass (bank0)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 234 : Found label after column 1. (bank1)
Error[116] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 234 : Address label duplicated or different in second pass (bank1)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 243 : Found label after column 1. (bank0)
Error[116] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 243 : Address label duplicated or different in second pass (bank0)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 247 : Found label after column 1. (bank1)
Error[116] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 247 : Address label duplicated or different in second pass (bank1)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 256 : Found label after column 1. (bank0)
Error[116] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 256 : Address label duplicated or different in second pass (bank0)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 259 : Found label after column 1. (bank1)
Error[116] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 259 : Address label duplicated or different in second pass (bank1)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 268 : Found label after column 1. (bank0)
Error[116] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 268 : Address label duplicated or different in second pass (bank0)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 271 : Found label after column 1. (bank1)
Error[116] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 271 : Address label duplicated or different in second pass (bank1)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 280 : Found label after column 1. (bank0)
Error[116] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 280 : Address label duplicated or different in second pass (bank0)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 353 : Found label after column 1. (ifgreater)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 353 : Illegal opcode (white_mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 363 : Found label after column 1. (ifgreater)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 363 : Illegal opcode (color_mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 366 : Found label after column 1. (ifnotequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 366 : Illegal opcode (password)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 368 : Found label after column 1. (ifnotequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 368 : Illegal opcode (password2)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 374 : Found label after column 1. (ifless)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 374 : Illegal opcode (mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 376 : Found label after column 1. (ifless)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 376 : Illegal opcode (mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 378 : Found label after column 1. (ifless)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 378 : Illegal opcode (mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 380 : Found label after column 1. (ifequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 380 : Illegal opcode (mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 398 : Found label after column 1. (ifequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 398 : Illegal opcode (mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 400 : Found label after column 1. (ifequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 400 : Illegal opcode (mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 430 : Found label after column 1. (ifequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 430 : Illegal opcode (cycle_count)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 432 : Found label after column 1. (ifequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 432 : Illegal opcode (cycle_count)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 434 : Found label after column 1. (ifequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 434 : Illegal opcode (cycle_count)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 441 : Found label after column 1. (ifgreater)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 441 : Illegal opcode (mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 445 : Found label after column 1. (ifequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 445 : Illegal opcode (mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 447 : Found label after column 1. (ifequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 447 : Illegal opcode (mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 463 : Found label after column 1. (ifequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 463 : Illegal opcode (cycle_count)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 467 : Found label after column 1. (ifgreater)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 467 : Illegal opcode (mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 490 : Found label after column 1. (ifless)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 490 : Illegal opcode (mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 494 : Found label after column 1. (ifequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 494 : Illegal opcode (mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 496 : Found label after column 1. (ifequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 496 : Illegal opcode (mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 523 : Found label after column 1. (ifequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 523 : Illegal opcode (mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 525 : Found label after column 1. (ifequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 525 : Illegal opcode (mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 527 : Found label after column 1. (ifequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 527 : Illegal opcode (mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 530 : Found label after column 1. (ifequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 530 : Illegal opcode (mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 541 : Found label after column 1. (ifless)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 541 : Illegal opcode (mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 543 : Found label after column 1. (ifgreater)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 543 : Illegal opcode (mode)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 567 : Found label after column 1. (ifzero)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 579 : Found label after column 1. (ifset)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 579 : Illegal opcode (flags)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 587 : Found label after column 1. (ifset)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 587 : Illegal opcode (flags)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 594 : Found label after column 1. (ifset)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 594 : Illegal opcode (flags)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 601 : Found label after column 1. (ifset)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 601 : Illegal opcode (flags)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 608 : Found label after column 1. (ifset)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 608 : Illegal opcode (flags)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 662 : Found label after column 1. (ifset)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 662 : Illegal opcode (flags)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 669 : Found label after column 1. (ifset)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 669 : Illegal opcode (flags)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 676 : Found label after column 1. (ifset)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 676 : Illegal opcode (flags)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 691 : Found label after column 1. (ifequalff)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 691 : Illegal opcode (pwm)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 708 : Found label after column 1. (ifequalff)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 708 : Illegal opcode (pwm)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 724 : Found label after column 1. (ifequalff)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 724 : Illegal opcode (pwm)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 740 : Found label after column 1. (ifequalff)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 740 : Illegal opcode (pwm)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 756 : Found label after column 1. (ifless)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 756 : Illegal opcode (ramp_level)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 765 : Found label after column 1. (ifset)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 765 : Illegal opcode (flags)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 768 : Found label after column 1. (ifgreater)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 768 : Illegal opcode (ramp_level)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 791 : Found label after column 1. (ifset)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 791 : Illegal opcode (flags)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 796 : Found label after column 1. (ifless)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 796 : Illegal opcode (ramp_level)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 825 : Found label after column 1. (ifless)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 825 : Illegal opcode (ramp_level)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 834 : Found label after column 1. (ifset)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 834 : Illegal opcode (flags)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 837 : Found label after column 1. (ifgreater)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 837 : Illegal opcode (ramp_level)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 860 : Found label after column 1. (ifset)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 860 : Illegal opcode (flags)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 865 : Found label after column 1. (ifless)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 865 : Illegal opcode (ramp_level)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 894 : Found label after column 1. (ifless)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 894 : Illegal opcode (ramp_level)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 903 : Found label after column 1. (ifset)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 903 : Illegal opcode (flags)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 906 : Found label after column 1. (ifgreater)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 906 : Illegal opcode (ramp_level)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 929 : Found label after column 1. (ifset)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 929 : Illegal opcode (flags)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 934 : Found label after column 1. (ifless)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 934 : Illegal opcode (ramp_level)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 999 : Found label after column 1. (ifnotequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 999 : Illegal opcode (rb)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1001 : Found label after column 1. (ifnotequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1001 : Illegal opcode (gb)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1003 : Found label after column 1. (ifnotequal)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1003 : Illegal opcode (bb)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1012 : Found label after column 1. (ifgreaterff)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1012 : Illegal opcode (pwmcount)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1014 : Found label after column 1. (ifgreaterff)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1014 : Illegal opcode (pwmcount)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1016 : Found label after column 1. (ifgreaterff)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1016 : Illegal opcode (pwmcount)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1024 : Found label after column 1. (ifset)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1024 : Illegal opcode (flags)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1037 : Found label after column 1. (ifless)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1037 : Illegal opcode (temp2)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1044 : Found label after column 1. (ifgreater)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1044 : Illegal opcode (latch)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1047 : Found label after column 1. (tableheader)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1262 : Found label after column 1. (ifgreater)
Error[122] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1262 : Illegal opcode (latch)
Warning[207] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1265 : Found label after column 1. (tableheader)
Error[116] C:\USERS\DAN\DOCUMENTS\MPLAB\RGBW_CLICKY\RGBW_CLICKY.ASM 1265 : Address label duplicated or different in second pass (tableheader)
Halting build on first failure as requested.
----------------------------------------------------------------------
Release build of project `C:\Users\Dan\Documents\MPLAB\RGBW_Clicky\RGBW_Clicky.mcp' failed.
Language tool versions: MPASMWIN.exe v5.51, mplink.exe v4.49, mplib.exe v4.49
Wed Dec 17 13:45:14 2014
----------------------------------------------------------------------
BUILD FAILED



--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
.ASM changed to use the copy of the file on the USB

Release build of project `C:\Users\Dan\Documents\MPLAB\RGBW_Clicky\RGBW_Clicky.mcp' started.
Language tool versions: MPASMWIN.exe v5.51, mplink.exe v4.49, mplib.exe v4.49
Wed Dec 17 13:47:34 2014
----------------------------------------------------------------------
Make: The target "C:\Users\Dan\Documents\MPLAB\RGBW_Clicky\RGBW_Clicky.o" is out of date.
Executing: "C:\Program Files (x86)\Microchip\MPASM Suite\MPASMWIN.exe" /q /p12F617 "D:\MPLAB Repair\RGBW_Clicky.ASM" /l"RGBW_Clicky.lst" /e"RGBW_Clicky.err" /o"RGBW_Clicky.o"
Make: The target "C:\Users\Dan\Documents\MPLAB\RGBW_Clicky\RGBW_Clicky.cof" is out of date.
Executing: "C:\Program Files (x86)\Microchip\MPASM Suite\mplink.exe" /p12F617 "RGBW_Clicky.o" /z__MPLAB_BUILD=1 /o"RGBW_Clicky.cof" /M"RGBW_Clicky.map" /W
MPLINK 4.49, Linker
Device Database Version 1.14
Copyright (c) 1998-2011 Microchip Technology Inc.
Errors : 0

MP2HEX 4.49, COFF to HEX File Converter
Copyright (c) 1998-2011 Microchip Technology Inc.
Errors : 0

Loaded C:\Users\Dan\Documents\MPLAB\RGBW_Clicky\RGBW_Clicky.cof.
----------------------------------------------------------------------
Release build of project `C:\Users\Dan\Documents\MPLAB\RGBW_Clicky\RGBW_Clicky.mcp' succeeded.
Language tool versions: MPASMWIN.exe v5.51, mplink.exe v4.49, mplib.exe v4.49
Wed Dec 17 13:47:38 2014
----------------------------------------------------------------------
BUILD SUCCEEDED
Cereal_Killer
 
Posts: 6
Joined: Wed Dec 17, 2014 7:27 am
Location: Columbus, OH, USA, Earth
PIC experience: Experienced Hobbyist

Re: Build's fail when .ASM is within project directory

Postby Cereal_Killer » Wed Dec 17, 2014 7:51 pm

Hm, just noticed it claims an error 105 "no instructions.inc file found" but that's strange cause I dont change anything else but the location of the .ASM, does it look what files to use based off the code or is that just for the user to know and it only cares about the files you point it to on the tree?
Cereal_Killer
 
Posts: 6
Joined: Wed Dec 17, 2014 7:27 am
Location: Columbus, OH, USA, Earth
PIC experience: Experienced Hobbyist

Re: Build's fail when .ASM is within project directory

Postby ric » Thu Dec 18, 2014 12:21 am

I would say your source file is including a file called "instructions.inc", but you're not copying that file to your hard drive.

Whenever you get a great swathe of errors, fix the first one first, as that may be causing all the others!
Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 659
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products

Re: Build's fail when .ASM is within project directory

Postby AussieSusan » Thu Dec 18, 2014 2:37 am

At a guess you have used absolute paths somewhere within the project file, or relative file paths that are not quite matched in the new environment.
Have a look at the include paths as they are set in the IDE and make sure they are correct.
(I must admit I've not used that IDE for many years now - I use MPLABx - but I believe above is still true)
Susan
AussieSusan
Verified identity
 
Posts: 173
Joined: Mon Jun 16, 2014 4:45 am
PIC experience: Experienced Hobbyist

Re: Build's fail when .ASM is within project directory

Postby Ian.M » Thu Dec 18, 2014 8:22 am

MPASM doesn't have the concept of include paths and blithely ignores any settings you make for that in the IDE. See http://www.microchip.com/forums/FindPost/830559

It looks like "instructions.inc" is a set of macros to make 14 bit PIC assembler 'easier' and it may well have been placed in the MPASM folder so that it can always be found. I do this myself to a certain extent, but differentiate between standard headers and my own ones by using the extension .incl for mine rather than .inc used by the standard ones. Obviously, if it was in the MPASM folder, it didn't get copied to the new machine.
Ian.M
Verified identity
 
Posts: 95
Joined: Wed May 28, 2014 12:47 am
PIC experience: Professional 1+ years with MCHP products

Re: Build's fail when .ASM is within project directory

Postby Cereal_Killer » Sun Dec 21, 2014 8:46 pm

Ian and Ric got it!

My issue is that the "instructions.inc" file I use is one custom made by my buddy, the "factory" (dont know a better term for it) "include.inc" file was removed off my old computer to prevent confusion on my part (I use the same include file for all my 12F based assembly projects) and I placed a single copy of my instruction file in my main work directory and linked every project that needed it to that one location...
On the new computer, first I forgot to throw away the factory include.inc file but even when I did that I was still getting the 105 error, I then made copies of my "instructions.inc" and placed one in each individual project folder, went threw and located all the files correctly and it works!!!

Thanks so much guy's!
Cereal_Killer
 
Posts: 6
Joined: Wed Dec 17, 2014 7:27 am
Location: Columbus, OH, USA, Earth
PIC experience: Experienced Hobbyist


Return to MPLAB 8 IDE

Who is online

Users browsing this forum: No registered users and 4 guests

cron