*========================================================== * vectors.asm - Interrupt and reset vectors for the HC11E9. * * To use these, write the address of your ISR (Interrupt * Service Routine) to the 2-byte location starting at the * vector address of the particular interrupt that you wish * to use. You must also enable that specific interrupt, * and (for most interrupts) ensure that the I bit in the * CCR is clear. *========================================================== #include "core.asm" ; Defines ADDRSIZE VECSIZE equ ADDRSIZE ; A vector is just an address Vbase_spec equ $bfc0 ; Base of vector region in special modes. * Vector addresses in normal MCU modes. For special modes, subtract (vbase-vbase_spec). Vbase org $ffd6 ; Base of vector region in normal modes VSCI rmb VECSIZE ; Serial Communications Interface VSPI rmb VECSIZE ; Serial Peripheral Interface VPAIE rmb VECSIZE ; Pulse Accumulator input edge VPAO rmb VECSIZE ; Pulse Accumulator overflow VTOF rmb VECSIZE ; Timer overflow VTI4C5 rmb VECSIZE ; Timer input capture 4 / output compare 5 VTOC4 rmb VECSIZE ; Timer output compare 4 VTOC3 rmb VECSIZE ; Timer output compare 3 VTOC2 rmb VECSIZE ; Timer output compare 2 VTOC1 rmb VECSIZE ; Timer output compare 1 VTIC3 rmb VECSIZE ; Timer input capture 3 VTIC2 rmb VECSIZE ; Timer input capture 2 VTIC1 rmb VECSIZE ; Timer input capture 1 VRTI rmb VECSIZE ; Real-time interrupt VIRQ rmb VECSIZE ; IRQ pin (maskable) VXIRQ rmb VECSIZE ; XIRQ pin (nonmaskable) VSWI rmb VECSIZE ; Software Interrupt VILLOP rmb VECSIZE ; Illegal opcode trap VCOP rmb VECSIZE ; Computer Operating Properly watchdog failure VCLM rmb VECSIZE ; Clock monitor failure VRST rmb VECSIZE ; RESET pin vector