"Eisermann, Phil [Ridg/CO]" wrote: >... > After I got everything to assemble, the linker gave me > the error "section 'ISR' can not fit the absolute section." The > 'ISR' is, of course, the interrupt handler that I want placed at > 0x04. > > Upon examining 16F84.lkr, I noticed codepage 'vectors' > extends from 0x00 to 0x04, and codepage 'page' from 0x05 to > 0x3FF. So I changed 'vectors' to end at 0x03, and 'page' to start > at 0x04. And the two object files were linked together. > > Ok, so now I can't help but wonder: I would like to assume > that Microchip configured the 16f84.lkr file correctly. But since I > had to tinker with this file, I have this nagging doubt that I am not > using the software correctly. Can anyone shed some light onto > this for me? Microchip has tried to make it clear that the linker scripts are "suggestions" rather than rules. Most people will need to modify the linker scripts for their particular application. There are some examples in the MPASM/MPLINK User's Guide. If you do not have a simple GOTO for your ISR at 0004, then you'll need to increase the size of that section. -- ___________________________ | Darrel Johansen | | tempe, arizona | | darrelj@primenet.com | |_________________________|