#ifndef _Test_Compare_H
#define _Test_Compare_H

#include "M68HC11A8.h"

struct interrupt_vectors __attribute__((section(".vectors"))) vectors =
{
  res0_handler:           fatal_interrupt,          // Reserved
  res1_handler:           fatal_interrupt,          // Reserved
  res2_handler:           fatal_interrupt,          // Reserved
  res3_handler:           fatal_interrupt,          // Reserved
  res4_handler:           fatal_interrupt,          // Reserved
  res5_handler:           fatal_interrupt,          // Reserved
  res6_handler:           fatal_interrupt,          // Reserved
  res7_handler:           fatal_interrupt,          // Reserved
  res8_handler:           fatal_interrupt,          // Reserved
  res9_handler:           fatal_interrupt,          // Reserved
  res10_handler:          fatal_interrupt,          // Reserved
  sci_handler:            fatal_interrupt,          // SCI interrupt
  spi_handler:            fatal_interrupt,          // SPI interrupt
  acc_input_handler:      fatal_interrupt,          // Accumulator input
  acc_overflow_handler:   fatal_interrupt,          // Accumulator overflow
  timer_overflow_handler: fatal_interrupt,          // Timer overflow
  output5_handler:        fatal_interrupt,          // Output compare 5
  output4_handler:        fatal_interrupt,          // Output compare 4
  output3_handler:        fatal_interrupt,          // Output compare 3
  output2_handler:        fatal_interrupt,          // Output compare 2
  output1_handler:        output1_interrupt,        // Output compare 1
  capture3_handler:       fatal_interrupt,          // Input capture 1
  capture2_handler:       fatal_interrupt,          // Input capture 2
  capture1_handler:       fatal_interrupt,          // Input capture 1
  rtii_handler:           fatal_interrupt,          // Realtime timer interrupt
  irq_handler:            fatal_interrupt,          // External interrupt
  xirq_handler:           fatal_interrupt,          // Non-maskable interrupt
  swi_handler:            fatal_interrupt,          // Software interrupt
  illegal_handler:        fatal_interrupt,          // Illegal instruction
  cop_fail_handler:       fatal_interrupt,          // COP fail
  cop_clock_handler:      fatal_interrupt,          // COP clock failure
  reset_handler:          _start                    // Reset
};


#endif //_Test_Compare_H
