Article View: comp.sys.mac
Article #18725Re: LightSpeedC and assembler
From: Steve Miller
Date: Wed, 02 Sep 1987 16:30
Date: Wed, 02 Sep 1987 16:30
17 lines
1237 bytes
1237 bytes
> Version 2.01 of LSC introduced an inline assembler capability. It's worth
> noting that this is not your standard "pass this text through to the
> assembler pass" type of inline assembly (which we couldn't do anyway, since
> there is no assembler pass). Inline assembly is fully integrated into the
> compiler via a new C statement of the form:
>
> asm {
> ;Insert your assembly language statements here
> }
I'm not familiar with in-line assembly so I am curious: Does the programmer
know what registers have what values (epsecially when using register
variables) or does the programmer just save all registers that are to be
used by the assembly code and restore them at the end?
Steven Miller
Technical Details
Message-ID:
<3770004@hpvcla.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!tikal!hplsla!hpvcla!stevemReferences:
<418@aucs.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!tikal!hplsla!hpvcla!stevem From: stevem@hpvcla.HP.COM (Steve Miller) Newsgroups: comp.sys.mac Subject: Re: LightSpeedC and assembler Message-ID: <3770004@hpvcla.HP.COM> Date: Wed, 2-Sep-87 12:30:11 EDT Article-I.D.: hpvcla.3770004 Posted: Wed Sep 2 12:30:11 1987 Date-Received: Sat, 5-Sep-87 14:11:24 EDT References: <418@aucs.UUCP> Organization: Hewlett Packard, Vancouver, WA Lines: 17