I am using CW V4.6 for HCS12(X) and I wanted to ask some questions about the syntax for the Interrupt vector table allocation in the interrupt function definition/declaration.
1º: Does the Interrupt Vector Number have to be in the definition AND in the declaration? Or only in the declaration?
2º What is the syntax with that number? In the documentation it says that is only a number, but does this structure work? e.g
#define INTVEC_START 0
interrupt (INTVEC_START + 0x00) void random_interrupt(void);
Thanks in advance.