Mail Archives: djgpp/1999/06/27/02:35:45
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
- Raw text -