🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #2203

Stack Segment... Can I change it?

#2203
From: Rob Shearer
Date: Thu, 20 Sep 1990 13:58
21 lines
994 bytes
Hello... This is my first attempt at posting to the net...

I use TC++ version 1.0.  

After the main() delcaration i would like to tell the system WHERE to use
the stack..  in actuality, I would like to have several different stacks
depending on circumstances...  I am willing to go through the headache of
the overhead to take care of it...  but can someone tell me HOW to tell the
system I want a different stack??


can I just poing _SS = FP_SEG(newlocation);
                 _SP = FP_OFF(newoffset);

will this work??

Thanks..


Robb Shearer
Technical Details
Message-ID: <31074@nigel.ee.udel.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!asuvax!ncar!mephisto!udel!cis.udel.edu

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!asuvax!ncar!mephisto!udel!cis.udel.edu
From: shearer@cis.udel.edu (Rob Shearer)
Newsgroups: comp.os.msdos.programmer
Subject: Stack Segment...  Can I change it?
Message-ID: <31074@nigel.ee.udel.edu>
Date: 20 Sep 90 13:58:11 GMT
Sender: usenet@ee.udel.edu
Organization: University of Delaware
Lines: 21
Nntp-Posting-Host: sol.cis.udel.edu
Originator: shearer@cis.udel.edu