CompuServe Messages

Calling ML from C

    25-Aug-92 00:04:18
Fm: Syndesis 76004,1763
To: Jon Bojicic 71460,2023
Yes, under Lattice, you can optimize functions to keep things in registers between calls which leads to the link-less subroutines you saw… in the past, it was more common to see all subroutine calls begin and end with link and unlink. Haven't you tried reading the Lattice manual about this? The sections that describe the related areas of this (pragmas, command line switches, etc.) describe what happens in terms of the generated code.