Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!axion!planet!prk From: prk@planet.bt.co.uk (Peter Knight) Newsgroups: comp.os.msdos.programmer Subject: Re: Inline assembly language with MSC 5.x (Can it be done?) Message-ID: Date: 30 Aug 90 07:54:03 GMT References: <1990Aug29.021708.18186@ucselx.sdsu.edu> Sender: usenet@planet.bt.co.uk (Usenet News Manager) Organization: RT743, BT Research Labs, Martlesham Heath, Ipswich, UK. Lines: 20 add@sciences.sdsu.edu (James D. Murray) 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. > If it does, how does one create the in-line code? I use MSC 5.1. No, you cannot have inline assembly code in this version. To use assembly fragments, you have to put them into a seperate function. See the Mixed Language Programming Guide, for details. To assemble them, you will need an assembler: MASM is supplied by Microsoft, but is showing its age. Peter knight BT Research #include