help needed for beginners
Posted: Thu Mar 08, 2007 4:06 pm
We have been given this error when programming with C for picmicro. i think that it may be related with the following piece of code that we are using. i am using a 16F88 pic microcontroller. am i starting the config register at the right address for pic 16F88?
appreciating any help. 10x
asm
{
list p=PIC16F88
__config H'3FF9' ;XT,!CP,!WDT,!PWRT,BODEN,LPV,!CPD,WRT,!DEBUGGER
}
Assembling...
C:\PROGRA~1\MPLABI~1\MCHIP_~1\MPASMWIN.EXE /aINHX8M /pPIC16F88 /rHEX /w2 /q test.asm
Error[113] C:\PROGRAM FILES\SOURCEBOOST\SAMPLES\C\TEST.ASM 66 : Symbol not previously defined (T0IF)
Error[126] C:\PROGRAM FILES\SOURCEBOOST\SAMPLES\C\TEST.ASM 481 : Argument out of range (not a valid config register address)
Done
Failed
appreciating any help. 10x
asm
{
list p=PIC16F88
__config H'3FF9' ;XT,!CP,!WDT,!PWRT,BODEN,LPV,!CPD,WRT,!DEBUGGER
}
Assembling...
C:\PROGRA~1\MPLABI~1\MCHIP_~1\MPASMWIN.EXE /aINHX8M /pPIC16F88 /rHEX /w2 /q test.asm
Error[113] C:\PROGRAM FILES\SOURCEBOOST\SAMPLES\C\TEST.ASM 66 : Symbol not previously defined (T0IF)
Error[126] C:\PROGRAM FILES\SOURCEBOOST\SAMPLES\C\TEST.ASM 481 : Argument out of range (not a valid config register address)
Done
Failed