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
<< Home