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

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004