From: Philosopher DOT bbs AT titan DOT cc DOT ntu DOT edu DOT tw (阿哲) Newsgroups: comp.os.msdos.djgpp Subject: Re: -O3 and -O2 breaks my NASM code Date: 19 Sep 1998 01:16:29 GMT Organization: CSZone BBS Lines: 9 Message-ID: <3QXblU$QOw@titan.cc.ntu.edu.tw> NNTP-Posting-Host: titan.cc.ntu.edu.tw To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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: 程式設計樂園 ◆ From: titan.ee.ntu.edu.tw