How is it meant to get to your main code loop?
Your startup code runs straight into your interrupt code/
Your startup code runs straight into your interrupt code/