DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Enhanced asm facility

Definition

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.


Next topic: Use
Previous topic: Example

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003