Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site houxt.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!houxm!hogpc!houxt!ijk
From: ijk@houxt.UUCP
Newsgroups: net.micro.pc
Subject: Finding the End of Memory & Adjusting the Stack Pointer using Lattice
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