1 C语言调用汇编函数
首先在汇编中声明其为全局函数:
例如有汇编函数:init_interrupt
声明全局: .global init_interrupt
然后在C语言中可直接调用:
init_interrupt();
2 汇编调用C函数
ldr pc,=C语言函数名