Thanks for your reply!
Oh, I made a mistake, I meant "I could leave the routine without re-enabling interrupts by using return instead of retfie."
I want interruptions to be enabled just in a specific part of my code, which is part of a bigger code in a loop, and just once per "loop run". Not very clear, I know ! So I enable GIE in my code, disable it one line afterwards.
Even if it's not the best way to do so, it works, and now I'm migrating my code to C.
What would be the way to do so?
And even if there is a better way, i'm curious!
Thank you!