|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
compiler problems
this code in user routines fast.c is saying that there is a problem that we can't figure out.
#pragma code InterruptVectorLow = LOW_INT_VECTOR // problem is here<--- void InterruptVectorLow (void) { _asm goto InterruptHandlerLow /*jump to interrupt routine*/ _endasm } The compiler says the error is: non-overlay and absolute but occurs in more than one input file. There is also an _entry_scn with the same problem, located in ifi_startup. #pragma code _startup_scn void _startup (void) { _asm /* Initialize the stack pointer */ lfsr 1, _stack lfsr 2, _stack clrf TBLPTRU, 0 /* 1st silicon doesn't do this on POR */ bcf FPFLAGS,RND,0 /* Initialize rounding flag for floating point libs */ /* initialize the flash memory access configuration. this is harmless */ /* for non-flash devices, so we do it on all parts. */ bsf 0xa6, 7, 0 bcf 0xa6, 6, 0 _endasm Please help. it is the only problem we have left in our robot's code. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2006 Compiler | Ultima | Programming | 11 | 08-10-2006 20:05 |
| C 18 2.4 compiler | bjimster1 | Programming | 5 | 18-01-2006 19:11 |
| C18 Compiler v.3.00 Problems | prograid | Programming | 6 | 10-01-2006 22:10 |
| Compiler problems | katkana | Programming | 2 | 03-02-2005 18:29 |