PDA

View Full Version : Compiler Warning messages



Pedro Pinto
- 20th October 2010, 10:31
Hello

My programm run on 18F4520 and used Darrel Taylor DS_INT
After compiling it shows the above messages
What make i wrong or how can i solve this?
Apreciate any help
Compiler 2.50 and on vesion 2.60 the same messages

Thanks
Best regards
Pedro


Message[301] c:compil~1\sc8406~2.asm 1617 : MESSAGE: (Temp variables exceeding T7)

'''refer to this lines of the generated asm file
ifdef T7
MOVE?WW _T7_SaveH, T7
if (PBPLongs_Used == 1)
MOVE?WW _T7_SaveH+2, T7+2
endif
endif
ifdef T8
ifndef NO_T7_WARNING
messg "Temp variables exceeding T7"
endif
endif


Warning[207] c:compil~1\sc8406~2.asm 1638: Found label after column 1.(INT_LST)

'''refer to this lines of the generated asm file
INT_LIST macro
INT_Handler RX_INT, _IntRx, PBP, yes
endm
INT_CREATE

mackrackit
- 20th October 2010, 10:46
For the 207 warning..
Do you have your code like below or is part of it indented?

ASM
INT_LIST macro

I am not sure about the other one.

Pedro Pinto
- 20th October 2010, 10:54
Hello dave
In my programm i have this:

INCLUDE "modedefs.bas"
INCLUDE "DT_INTS-18.bas"
INCLUDE "ReEnterPBP-18.bas"

ASM
INT_LIST macro
INT_Handler RX_INT, _IntRx, PBP, yes
endm
INT_CREATE
ENDASM
@ INT_ENABLE RX_INT

Best regards
Pedro

mackrackit
- 20th October 2010, 10:59
Try making it look like it does here
http://www.picbasic.co.uk/forum/showthread.php?t=3251

Pedro Pinto
- 20th October 2010, 22:12
Hello

My programm run on 18F4520 and used last Darrel Taylor DS_INT18 update
After compiling it shows the above messages
What make i wrong or how can i solve this?
Apreciate any help
Compiler 2.50 and on vesion 2.60 the same messages

Thanks
Best regards
Pedro


Message[301] c:compil~1\sc8406~2.asm 1617 : MESSAGE: (Temp variables exceeding T7)

'''refer to this lines of the generated asm file
ifdef T7
MOVE?WW _T7_SaveH, T7
if (PBPLongs_Used == 1)
MOVE?WW _T7_SaveH+2, T7+2
endif
endif
ifdef T8
ifndef NO_T7_WARNING
messg "Temp variables exceeding T7"
endif
endif


Warning[207] c:compil~1\sc8406~2.asm 1638: Found label after column 1.(INT_LST)

'''refer to this lines of the generated asm file
INT_LIST macro
INT_Handler RX_INT, _IntRx, PBP, yes
endm
INT_CREATE

Darrel Taylor
- 20th October 2010, 22:20
In assembly language, indentation is critical.

We can't tell how you've indented your code unless you put it in
tags.

But when it tells you "Found label after column 1.(INT_LST)" ...
It usually means it's not in column 1 (indented).

Pedro Pinto
- 20th October 2010, 22:34
Hello Darrel

Have arranged the code, and now not show the message anymore

But the message MESSAGE: (Temp variables exceeding T7) continue
Is this a Interrupt DS_INT problem?

Thanks
Best regards
Pedro

Darrel Taylor
- 20th October 2010, 22:59
It means that you have very long math formulas or IF statements in your program that is creating a lot of system Temp variables.

If they are not in your interrupts handler, then add

DEFINE NO_T7_WARNING 1