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

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005