Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucsd!usc!apple!ira From: ira@Apple.COM (Ira Ruben) Newsgroups: comp.sys.mac.programmer Subject: Re: Calling Assembly Language Subroutines from MPW C Keywords: MPW, C, Assembly, 68000 Message-ID: <32647@apple.Apple.COM> Date: 24 Jun 89 04:44:09 GMT References: <1455@ndmath.UUCP> Organization: Apple Computer Inc, Cupertino, CA Lines: 11 The article #7476 pretty well summarizes what you need to know about calling assembly code from C. However, the only thing I would recommend is that you use CASE OBJ instead of CASE ON when using the MPW assembler with C callers. The reason for this is that CASE OBJ only preserves the casing of references in the generated object file, which is all you need for the C calling routine to "see" the called asm module. In all other respects, the casing is treated as the standard "ignore case" (actully upper case internally). By doing this you don't have to warry about the casing of included files, in particular, the Mac interface files. With CASE ON you would.