From: Thomas Demmer Newsgroups: comp.os.msdos.djgpp Subject: Re: Segments vs Selectors Date: Fri, 26 Sep 1997 17:39:34 +0200 Organization: Lehrstuhl fuer Stroemungsmechanik Lines: 23 Message-ID: <342BD736.E0E1A61E@LSTM.Ruhr-UNI-Bochum.De> References: NNTP-Posting-Host: c64.lstm.ruhr-uni-bochum.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit CC: "Gurunandan R. Bhat" To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Gurunandan R. Bhat wrote: [...] lots deleted because otherwise refused to post ... Try char x; int main() ... You have x on the stack, not in the data segment, so that might be the problem. -- Ciao Tom ************************************************************* * Thomas Demmer * * Lehrstuhl fuer Stroemungsmechanik * * Ruhr-Uni-Bochum * * Universitaetsstr. 150 * * D-44780 Bochum * * Tel: +49 234 700 6434 * * Fax: +49 234 709 4162 * * http://www.lstm.ruhr-uni-bochum.de/~demmer * *************************************************************