www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/28/18:28:18

Date: Wed, 28 Jan 1998 15:23:20 -0800 (PST)
Message-Id: <199801282323.PAA15356@adit.ap.net>
Mime-Version: 1.0
To: akallio AT finlink DOT net (Aleksi Kallio), djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Asm and chancing registers

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



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019