Sender: nate AT cartsys DOT com Message-ID: <3775C5FF.3A47491C@cartsys.com> Date: Sat, 26 Jun 1999 23:34:39 -0700 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.10 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Some nice questions!! (one of them is silly!) References: <19990626185136 DOT 11144 DOT rocketmail AT web601 DOT yahoomail DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Mohamed Saad wrote: > > Hi all, > how are u? hope u r all very fine! > > hmmm... just some small questions... > 1) if i declare 2 global arrays as follows... > char ar1[100]; > char ar2[20]; > will djgpp ALWAYS store ar2 exactly after ar1??? > i.e. will the expression ar2[-1] always return > ar1[99]?? For practical purposes, no. I think it does at present but it isn't safe to count on it. > 2) what are registers that i can safely change in > my assembler function without having to push its > values? eax, ecx, edx. > 3) in djgpp progs, does djgpp make the register es > equal to ds?? ALWAYS?? Yes, unless you've changed one explicitly. > 4) i wrote a program today which exited with an > error message being printed repeatedly forever, then > the system restarted! I can't remember the error > message exactly! but, i remember it was sthg like > "Exiting due to Unknown Signal Handler". what does > this mean? I don't know. Can you reproduce it, and get more details? -- Nate Eldredge nate AT cartsys DOT com