Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!sdd.hp.com!zaphod.mps.ohio-state.edu!math.lsa.umich.edu!hyc From: hyc@math.lsa.umich.edu (Howard Chu) Newsgroups: comp.sys.atari.st Subject: Re: Mixing C and Assembly Message-ID: <11900@stag.math.lsa.umich.edu> Date: 2 May 90 18:31:09 GMT References: <3140@rodan.acs.syr.edu> Sender: news@math.lsa.umich.edu Reply-To: hyc@math.lsa.umich.edu (Howard Chu) Organization: University of Michigan Math Dept., Ann Arbor Lines: 20 UUCP-Path: {mailrus,umix}!um-math!hyc In article <3140@rodan.acs.syr.edu> dinapoli@rodan.acs.syr.edu (Ron DiNapoli) writes: >Has anyone out there managed to mix Mark Williams C and assembly code? If so, >what assembler was used? If MWC wont let you do it (I've heard rumors to >this effect) is there another C compiler that WILL let you?? Please email >responses and I'll summarize to the net. This isn't exactly the clearest of questions. The Mark Williams package comes with an assembler, what else do you need? The entire Mark Williams software suite is pretty closely modeled after a Unix programming environment, and all the tools reflect that orientation. In particular, the object file format used by their compiler, assembler, and linker is a proprietary format, and not what you get out of the DRI assembler. Also, the syntax used in the assembler is pretty much the same as you'll see on a Unix system. If what you're really asking is "does MWC let you use inline assembly code in your C source files" the answer is no. But it's a simple matter to pull out the inline code and assemble it separately using their assembler. -- -- Howard Chu @ University of Michigan ... the glass is always greener on the side ...