Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site gumby.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!uwvax!gumby!g-frank From: g-frank@gumby.UUCP Newsgroups: net.lang.c Subject: Re: Inline aassembler in Lattice C Message-ID: <300@gumby.UUCP> Date: Wed, 20-Feb-85 19:54:28 EST Article-I.D.: gumby.300 Posted: Wed Feb 20 19:54:28 1985 Date-Received: Sun, 24-Feb-85 04:45:59 EST References: <1164@aecom.UUCP> Distribution: net Organization: U of Wisconsin CS Dept Lines: 27 > > Does anybody know of an easy way of using assembler from lattice C? > Certain compilers have inline assembler? > The QNX C compiler from Quantum Software of Ottawa, Ontario, has an inline assembler feature. It looks like a function call. You say asm ("mov dl,lousy_instruction_set") ; for example, and the line gets passed on to the assembler pass. This compiler costs $650, but it comes with a multi-user, multi-tasking, network operating system, assembler, linker, debugger, full screen editor, terminal independence package, graphics libraries, 8087 support as well as floating point emulation, etc., etc. Actually, the compiler comes with the operating system, not vice-versa, but don't tell anyone. No one out there seems to think anything's wrong with PC-DOS. -- Dan Frank Q: What's the difference between an Apple MacIntosh and an Etch-A-Sketch? A: You don't have to shake the Mac to clear the screen.