Date: Tue, 18 May 1999 13:52:05 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Radu Georgescu aka skoola cc: djgpp AT delorie DOT com Subject: Re: problem with extended inline asm In-Reply-To: <373CF61B.948F13AD@go.ro> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, 15 May 1999, Radu Georgescu aka skoola wrote: > the static and the automatic variables are located in memory one next to > another, if they are declared so This is simply not true. Static variables go to the data section while automatic variables are on the stack. So they could be megabytes apart. You can easily verify that by taking an address of a variable and printing it.