PDA

View Full Version : Error Message



mel4853
- 14th March 2009, 02:54
Error WINDCH~1.ASM 403:[235] opcode expected instead of 'error'

Got this error message using LCD_AnyPin.pbp is this normal?

Archangel
- 14th March 2009, 04:33
Error WINDCH~1.ASM 403:[235] opcode expected instead of 'error'

Got this error message using LCD_AnyPin.pbp is this normal?
The compiler and assembler make about 7 different files when you compile your code all having the name you chose for your program, with differing sufixes. This message points to the .asm file line 403. Open that file and look at which line of code correlates to it in your .pbp sourcecode and try to figure out the error, likely something as simple as a missing space, failure to use caps a comma etc. . .

mel4853
- 14th March 2009, 23:45
Could someone using LCD AnyPin see if this will compile for them?

Darrel Taylor
- 15th March 2009, 00:20
Which PIC are you using?

mel4853
- 15th March 2009, 00:39
Whoops sorry it's a 16F688.

Darrel Taylor
- 15th March 2009, 00:44
Compiles fine here.

Are you sure the HighJack routines are installed in the library?
<br>

mel4853
- 15th March 2009, 01:06
That's what the .lib looks like. I put the other 2 files that were in the zip file in PBP folder. I don't have any hair to pull out else I would. HA HA!!

OK, got the file, but removed it. Darrel Taylor.

Darrel Taylor
- 15th March 2009, 01:41
The .lib file looks good.

Is there any chance that you have more than one installation of PBP.

I can duplicate your error message from post#1, IF I compile with the default PM.exe assembler, and also do not have the HighJack routines in the .lib file. Otherwise it always compiles NP.

I have an installation of every version of PBP since 2.40, so I often have a problem of MicroCode Studio being pointed to the wrong version. And not every version has HighJack installed.

In MicroCode Studio, goto View | Compile and Program Options ... | Compiler Tab and verify that it's pointing to the same folder that the .lib file shown was in.

mel4853
- 15th March 2009, 01:47
Only have 1 PBP. Only had it for a week just switched from PBC.

mel4853
- 15th March 2009, 01:47
Also on compiler tab pointing to PBP folder.

Darrel Taylor
- 15th March 2009, 01:53
I'm affraid you have me at a loss. Out of ideas at the moment.

Could you email me the .LST file?

darrel at pbpgroup.com
<br>

mel4853
- 15th March 2009, 03:32
Maybe Dumb, but where's the .lst file? I'm not seeing it?

Darrel Taylor
- 15th March 2009, 05:14
It should be in the same folder as the file you are compiling.
It'll have the same name as that file, but .LST as the extension.

mel4853
- 15th March 2009, 13:08
Fixed, I had a copy of the .lib file I changed in the folder I had my file I was trying to compile. THANKS for all the help!!!!!!!!!!!!!!! Also Darrel, there still is no .lst in this folder.

Darrel Taylor
- 15th March 2009, 19:15
Great, glad you found it.

You probably have the "Listing File" unchecked in MCS.
No biggie, but that file can be very helpful when troubleshooting.
<br>