www.delorie.com/archives/browse.cgi | search |
Message-ID: | <3604DEB1.611F33DF@mailexcite.com> |
Date: | Sun, 20 Sep 1998 06:53:38 -0400 |
From: | Doug Gale <dgale AT mailexcite DOT com> |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: -O3 and -O2 breaks my NASM code |
References: | <3QXblU$QOw AT titan DOT cc DOT ntu DOT edu DOT tw> |
NNTP-Posting-Host: | oshawappp15.idirect.com |
Organization: | "Usenet User" |
Lines: | 18 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
ªüõ wrote: > Maybe you need to push all the registers you will contaminate > > at the start of the assembly function code, and pop them before > > that function returns. > > -- > ¡° Origin: µ{¦¡³]p¼Ö¶é ¡» From: titan.ee.ntu.edu.tw It's not necessary to push ALL registers that are modified. Just pushing ebx, ebp, esi, edi would be sufficient. eax, ecx, and edx are allowed to be modified.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |