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

macro: calleq -- tpcs call to named label

posted by mmitchel at 2/06/2004 10:19: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
calleq $a1
ldreq ip,=$a1
moveq lr,pc
bxeq ip
mend