From: "Andrew Crabtree" Newsgroups: comp.os.msdos.djgpp Subject: Re: Nasm+DJGPP Date: Mon, 2 Mar 1998 13:53:33 -0800 Organization: Hewlett Packard Lines: 9 Message-ID: <6df9ot$40k$1@rosenews.rose.hp.com> References: <34F91D47 DOT 5339 AT flashnet DOT it> NNTP-Posting-Host: ros51675cra.rose.hp.com Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Tiziano wrote in message <34F91D47 DOT 5339 AT flashnet DOT it>... >routine with nasm but I have some problems. >If I compile without optimizations all works perfectly, if I compile >with -O2 -ffast-math -fexepensive-optimizations I have a segv error! Probably you are not preserving all of the registers you need to. I don't remember off hand which ones need to be preserved ... check the faq or the past posts, it comes up a couple of times a month.