I wanted to put my IRQ handler in a separate file, so in crt0.s I put "import irq" at the top, and "export irq" at the top of the separate file. The resulting ROM did not boot.
Then I renamed it, and put a stub in crt0.s:
This worked. Can anyone explain why the imported function did not work?
Then I renamed it, and put a stub in crt0.s:
Code:
irq:
jmp myirq
jmp myirq
This worked. Can anyone explain why the imported function did not work?