|
|
Define an asm macro, called SPL:
asm void SPL(newpri) { % reg newpri; spl newpri % con newpri; movw newpri,%r0 spl %r0 }
The lines that begin with ``%'' are patterns. If the arguments at the time the macro is called match the storage modes in a pattern, the code that follows the pattern line will be expanded.