Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: "Jasper van Woudenberg"

, djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: NASM-functions: Which processor registers should I maintain? Date: Thu, 30 Apr 1998 16:46:43 -0700 Message-ID: <19980430234635.AAD20209@ppp119.cartsys.com> Precedence: bulk At 03:15 4/30/1998 GMT, Jasper van Woudenberg wrote: >Hi! > >I just have 1 small question: Which registers can I safely change in my >NASM-procedures, and which should I return to their previous value on >return? You must save ebx, esi, edi, ebp, ds, and es. All others may be modified at will (except of course esp). The return value goes in eax, or the 387 TOS register if it's a floating-point value. Nate Eldredge nate AT cartsys DOT com