From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jody Bruchon Subject: Re: the memory model being used in elks? Date: Sat, 09 May 2015 13:50:44 -0400 Message-ID: <554E48F4.5010406@jodybruchon.com> References: <20150508201433.GJ8197@example.net> <20150509180333.507d7482@lxorguk.ukuu.org.uk> <20150509174703.GK8197@example.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150509174703.GK8197@example.net> Sender: linux-8086-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: ELKS On 5/9/2015 1:47 PM, u-vpoa@aetey.se wrote: > IOW, as much as I can see, the binary is built correctly and it is > the memory allocation by the kernel which looks surprizing. It is my understanding that bcc assumes DS=ES=SS and both stack and heap data use the same code segment. How did you determine the memory usage of the program to be 60K? Does that include all usage or only heap usage?