Compiling error.

General discussion forum - for all that doesn't fit in any other category.
Post Reply
radonen
Posts: 4
Joined: Tue Jul 28, 2009 9:22 am

Compiling error.

Post by radonen »

At first hallo to everybody, and thanks for this wonderfull project!

So... the problem is:

I made SD version, everything works.
But....
Now I want to change LCD with LED display. When try to compile project I get this errors:
Error[128] D:\RADO\PROJECTS\C18\FDD_EMU\FDDEMU_SOFT_PIC_90809\SOURCES\FASTSPI.ASM 259 : Missing argument(s)
Error[113] C:\MCC18\MPASM\P18MACRO.INC 182 : Symbol not previously defined (Ptr)
Error[128] D:\RADO\PROJECTS\C18\FDD_EMU\FDDEMU_SOFT_PIC_90809\SOURCES\FASTSPI.ASM 260 : Missing argument(s)
Error[113] C:\MCC18\MPASM\P18MACRO.INC 182 : Symbol not previously defined (Ptr)
Error[128] D:\RADO\PROJECTS\C18\FDD_EMU\FDDEMU_SOFT_PIC_90809\SOURCES\FASTSPI.ASM 416 : Missing argument(s)
Error[113] C:\MCC18\MPASM\P18MACRO.INC 182 : Symbol not previously defined (Ptr)
Error[128] D:\RADO\PROJECTS\C18\FDD_EMU\FDDEMU_SOFT_PIC_90809\SOURCES\FASTSPI.ASM 417 : Missing argument(s)
Error[113] C:\MCC18\MPASM\P18MACRO.INC 182 : Symbol not previously defined (Ptr)
emrez
Posts: 17
Joined: Sun May 20, 2007 1:50 pm

Post by emrez »

Hello,

P18MACRO.INC macro file C:\MCC18\mpasm\P18MACRO.INC in Stk1PopToReg macro. To correct this replace the line "movff PLUSW1,Ptr" by "movff PLUSW1,Reg" in Stk1PopToReg macro (line 182)

(movff PLUSW1,Ptr replicate movff PLUSW1,Reg) line 182.
radonen
Posts: 4
Joined: Tue Jul 28, 2009 9:22 am

Post by radonen »

emrez wrote:Hello,

P18MACRO.INC macro file C:\MCC18\mpasm\P18MACRO.INC in Stk1PopToReg macro. To correct this replace the line "movff PLUSW1,Ptr" by "movff PLUSW1,Reg" in Stk1PopToReg macro (line 182)

(movff PLUSW1,Ptr replicate movff PLUSW1,Reg) line 182.
Thank You! Now all is OK. This is first time I use this compiler and may be I'll need more help.
Post Reply