In GCC, the interrupt function can be defined as:
.global __vector_N __vector_N: ;interrupt function content reti