On 12/9/2011 2:13 PM, Edward Jaffe wrote:
On 12/9/2011 11:33 AM, Steve Comstock wrote:
For application programming (granted: there are precious few
applications written in Assembler these days, except by
software product developers), I actually disdain using the
linkage stack, for these reasons:
Actually, I wasn't talking about the linkage stack at all. I was referring to
software-only stacking.
Ah, my mis-understanding.
In the early days, people rarely coded hierarchically. Everything was a flat
programming model, one routine following another with (one or more) branches to
the label of the next routine. These days, people understand the value of nested
logic. A software register stack is practically a necessity for such coding.
Totally agree with all of the above.
I have made a simple stacking macro available publicly to help those who might
be challenged to 'roll' their own. More sophisticated stack services (such as
the one we use internally) handle so-called 'automatic' variables as well.
Excellent. One can also use the CEEENTRY macro to
handle automatic variables (although it does have
some shortcomings, such as using non-relative branching
instructions).
--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
310-338-0400 x318
[email protected]
http://www.phoenixsoftware.com/
--
Kind regards,
-Steve Comstock
The Trainer's Friend, Inc.
303-355-2752
http://www.trainersfriend.com
* To get a good Return on your Investment, first make an investment!
+ Training your people is an excellent investment
* Try our tool for calculating your Return On Investment
for training dollars at
http://www.trainersfriend.com/ROI/roi.html