GCC Interrupt Functions in Assembly Language

In GCC, the interrupt function can be defined as:

.global __vector_N
__vector_N:
       ;interrupt function content			
       reti				
Note: N should be replaced by “the vector number -1” in the device data sheet. For example, __vector_5 is TIM0_OVF in ATtiny104 data sheet.