Well in that case I could probably just put a NOP in instruction 0 and preset the PC. Would be shorter than the jump + delay slot
no that should be fine, I don't have any run time stack init to do first
@KZhang one more thing: GCC tries to compile nested functions using what's called a trampoline, which is essentially a little bit of code pushed onto the stack at runtime in place of the function address that calculates the proper address to jump too. I don't fully understand why it's necessary but it's not possible currently since we can't execute anythng in RAM
I'll try to do a little bit more research into how it works to see what we can do
but since it is a hardware limitation I thought I'd get your two cents