team,
i ve to call the assembly function in my c code.
; Enable interrupts - R4 IRQ & FIQ
.def _enable_interrupt_
.asmfunc
_enable_interrupt_
cpsie if
bx lr
.endasmfunc
extern void _enable_interrupt_();
void main()
{
_enable_interrupt_();
}
is this the correct way to call???
thanks in advance