Date: Wed, 28 Jan 1998 15:23:20 -0800 (PST) Message-Id: <199801282323.PAA15356@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: akallio AT finlink DOT net (Aleksi Kallio), djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Asm and chancing registers Precedence: bulk At 12:28 1/28/1998 GMT, Aleksi Kallio wrote: >Which registers I should push-pop in my asm-function when using >compilation parameter -02? Regardless of what optimizations you use, you must preserve the following registers: %ebx, %esi, %edi, %ds, %es, %ebp Should this be an FAQ? It seems to come up a lot. Nate Eldredge eldredge AT ap DOT net