Hi,
I recently got Darrel Taylor's 'Instant Interrupt' program to work and was trying to integrate into my main program. However, I get the error below:
"Temp variables exceeding T4"
I looked in ReEnterPBP.bas and found that it was the file that was reporting back the error (see the relevant section of code below).
I do use a lot of variables in my program, but the total is 110 bytes, far from the 368 bytes on the 16F877a.
Does anyone know of a way to modify the ReEnterPBP code so that it is able to save more variables (I should have the RAM space...)?
From ReEnterPBP.bas:
ASM
ifdef RS1
MOVE?BB _RS1_Save, RS1
endif
ifdef RS2
MOVE?BB _RS2_Save, RS2
endif
ifdef T1
MOVE?WW _T1_Save, T1
endif
ifdef T2
MOVE?WW _T2_Save, T2
endif
ifdef T3
MOVE?WW _T3_Save, T3
endif
ifdef T4
MOVE?WW _T4_Save, T4
endif
ifdef T5
ERROR "Temp variables exceeding T4"
endif
ENDASM
Thanks!!
Justin
Bookmarks