The INTVECTOR directive instructs the compiler to generate interrupt vectors for functions which require them. An offset may be entered if the vector table starts at an address other than 0. The compiler generates interrupt vectors using either AJMP or LJMP instructions (depending on the size of the program memory specified with the ROM directive). Vectors are located starting at absolute address: (n * interval) + offset + 3 where: | n | is the interrupt number. | | interval | is the argument of the INTERVAL directive (default 8). | | offset | is the argument of the INTVECTOR directive (default 0). |
|