CompuServe Messages

#Calling ML from C

    23-Aug-92 14:47:58
Fm: Syndesis 76004,1763
To: Jon Bojicic 71460,2023
It's not that hard to interface C and assembler, the arguments are on the stack or in registers, depending on what kinds of routines you're calling, and what you might have set up in options on your code and compiler. Which compiler are you using? One, if your compiler came with any sample code, there might be an example or two there; or if it came with the source code to the library, you'll have many examples of C/asm connections. Or, if your compiler can output assembly language output, then you can look at the source code it generates.