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.

2/06/2004

callne -- tpcs call to named label (macro)

posted by mmitchel at 2/06/2004 10:20:00 AM

The following macro generates inline code to call a named label; the current state of flags within the processor status word are consulted.

macro
callne $a1
ldrne ip,=$a1
movne lr,pc
bxne ip
mend