Changes between Version 2 and Version 3 of Commentary/Rts/Cmm


Ignore:
Timestamp:
Oct 15, 2006 10:26:28 PM (8 years ago)
Author:
guest
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Rts/Cmm

    v2 v3  
    66 
    77We use the C preprocessor on `.cmm` files, making extensive use of macros to make writing this low-level code a bit less tedious and error-prone.  Most of our C-- macros are in [[GhcFile(includes/Cmm.h)]]. 
     8 
     9== Additions over C-- == 
     10 
     11The `.cmm` syntax includes the  
     12{{{ 
     13foreign "C" cfunctionname(R1) [R2]; 
     14}}} 
     15 
     16I think the [R2] part is the (set of) register(s) that you need to save over the call. 
     17