Message-ID: <199806131744320690.0063E9EE@pogwizd.tcs.uni.wroc.pl> Date: Sat, 13 Jun 1998 17:44:32 +0200 From: "Pawel Kowalski" To: djgpp AT delorie DOT com Subject: Re: Turbo Assembler & DJGPP Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit Precedence: bulk I tried allocating some kbytes for stack but with no success. >Do you perhaps use some uninitialized variables? Try to initialize all >variables and see if the error happens all the time or never then. Nope. All variables are initialized before. >Or do you garble some of the registers in your assembler code? > >In an old article, Bill Currie said: > >| %ebx, %esi, %edi, %ebp, %es, %ds and %ss (%cs is pretty obvious:) %eax, >| %edx and %ecx are all free for your use (however, %eax is used for >| return values (so is %edx, but only for 8 byte values)). %fs and %gs are >| also free, however, libc uses %gs internally and never touches %fs. > >Eli Zaretskii said: > >| Several functions in DJGPP's library use GS. FS is not used by the >| library, but if you call the so-called farptr functions, they use the >| FS register. > >Maybe you can check and see if you touch some of these registers >sometimes. Nope. I use there _only_ eax, ebx, ecx, edx, ds, es, esi, edi. Maybe I should rewrite that stuff in gnu assembler. Tell me then, when can I find a suitable TXT of HTML FAQ about GNU assembler? (for the beginners) Thanx, PK.