Date: Sat, 30 Jul 94 12:44:00 EDT From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) To: eliz AT is DOT elta DOT co DOT il Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: GO32 DPMI problem? Reply-To: babcock AT cfa DOT harvard DOT edu > What's wrong with the following program: Looks like regs.x.ss and .sp are uninitialized so you use some random memory address for stack space. Set them to zero and the library routine will provide reasonable values.