macro: call -- apcs call to named label
posted by mmitchel at 2/06/2004 09:50:00 AM
The following macro generates inline code to call a named label.
macro
call $a1
ldr ip,=$a1
mov lr,pc
bx ip
mend
A complete suite of GNU software tools including C, C++, Fortran, Java Cross Compilers, GDB/Insight Debugger Simulator, and additional hosted utilities for embedded ARM7, ARM9, and XScale CPU applications development.
The following macro generates inline code to call a named label.
macro
call $a1
ldr ip,=$a1
mov lr,pc
bx ip
mend
<< Home