Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!noose.ecn.purdue.edu!orchestra.ecn.purdue.edu!boerio From: boerio@orchestra.ecn.purdue.edu (Jeff Boerio) Newsgroups: comp.os.msdos.programmer Subject: Re: Inline assembly language with MSC 5.x (Can it be done?) Message-ID: <1990Sep3.082459.14251@ecn.purdue.edu> Date: 3 Sep 90 08:24:59 GMT References: <431.26DFC08C@gisatl.FIDONET.ORG> Sender: news@ecn.purdue.edu (USENET news) Organization: Purdue University Engineering Computer Network Lines: 29 In article <431.26DFC08C@gisatl.FIDONET.ORG> david@gisatl.FIDONET.ORG (David Deitch) writes: >In a message of James D. Murray (add@sciences.sdsu.edu ) writes: > > Does MSC 5.x or 6.x support in-line assembly language? > > I cannot find a pragma or command line switch to indicate that > > it does. Also, the string "asm" is not a reserved word under > > MSC 5.x. MSC *does* feature in-line assembly code. I haven't used it, but it works something like: main() { /* Start C source */ : : _asm{ /* Start asm code here */ : : } /* finish asm code here, continue with C stuff */ : : } - Jeff -- Jeff Boerio (boerio@orchestra.ecn.purdue.edu) Purdue University ECN Software Support Programmer "Don't ask me, I'm just improvising" - Neil Peart, Rush "There's someone in my head, but it's not me." - Pink Floyd