This actually is very simple. gcc provides the means to mark a function as an interrupt service routine, namely `__attribute__(interrupt)`
+
This actually is very simple. gcc provides the means to mark a function as an interrupt service routine, namely prefixing a function with `__attribute__(interrupt)`. So, something like this: