home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!travel!chris.lincoln
- From: chris.lincoln@travel.com (Chris Lincoln)
- Newsgroups: comp.lang.c
- Subject: Re: Inline ASM in Quick C/ MS C 5.1
- Message-ID: <11683.87.uupcb@travel.com>
- Date: 23 Dec 92 08:47:00 GMT
- Distribution: world
- Organization: Travel Online / St. Louis Online - St. Louis, MO
- Reply-To: chris.lincoln@travel.com (Chris Lincoln)
- Lines: 27
-
- To: ericwebb@blackwlf.gwinnett.com
- Date: Thu, 17 Dec 92 16:41:33 EST
-
- EW.Hi... Does anyone know if one can do inline ASM in Quick C? How does
- EW.one do it? I have version 1.01, but tell me about it even if it's for a
- EW.different version.. Can you do it with MS C 5.1? I also have a copy of
-
- I had 1.0x and don't think it can do inline asm, and it has been a loong
- time since I've used MSC 5.1. QC 2.x and MSC > 6.x support it. I'm not
- sure of any earlier versions. In a nutshell:
- void foo( void )
- {
- int a;
-
- _asm {
- ;asm statements
- }
- }
- or
-
- _asm ;asm statement
-
- I don't use it often enough to tell you the rules for variable access
- off the top of my head. It is quite handy for interupts and the sort.
- ---
- . SLMR 2.0 . This tagline stolen by Silly Little Mail Reader!
-
-