Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.pc » Finding the End of Memory & Adjusting the Stack Pointer using Lattice
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Finding the End of Memory & Adjusting the Stack Pointer using Lattice [message #79163] Sun, 02 June 2013 23:11
ijk is currently offline  ijk
Messages: 20
Registered: May 2013
Karma: 0
Junior Member
Message-ID: <480@houxt.UUCP>
Date: Fri, 12-Oct-84 15:24:26 EDT
Article-I.D.: houxt.480
Posted: Fri Oct 12 15:24:26 1984
Date-Received: Sat, 13-Oct-84 07:49:42 EDT
Organization: ATT Information Systems, Holmdel NJ
Lines: 13

I'm interested in adjusting my stack pointer so that I actually occupy
the minimum required space in my program on the PC using the Lattice
Compiler.  The only way I can see of doing this is to create a dummy
data variable that I insure gets loaded last, then taking its address
and loading its address + size of reserved stack area into the SP
in the startup code (C.ASM).  Am I missing something??? Are there
any compiler options that I can invoke to do this for me???
WHAT ELSE WILL LIKELY BREAK whe I try this??  I'm not requesting
any malloc type space, so I hope I'm safe

Thanx for any advice,
Ihor Kinal
houxt!ijk
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: PROLOG for PC/IX Query
Next Topic: UNIX Cross-Tools for the 8086?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Mar 28 16:36:53 EDT 2024

Total time taken to generate the page: 0.07039 seconds