On 5/7/2012 8:25 AM, Paul Gilmartin wrote:
On Mon, 7 May 2012 08:09:45 -0600, Steve Comstock wrote:
AMODE ANY means the program will be given control in
the AMODE of its invoker and supports running in AMODE24
or AMODE31, whichever it's caller is currently running in.
Of course this contradicts the conventional English notion of
"any" in that it excludes AMODE64. Granted that conventional
words may be overloaded with technical terms with specialized
meaning, but such direct confrontation should be avoided.
It is what it is.
And, yes, you can specify AMODE ANY in the Assembler and
in the binder.
If Binder marks a load module AMODE(ANY), you say that
ATTACH (e.g.) passes it control in the caller's AMODE, right?
If a load module is marked AMODE(24) or AMODE(31), will
ATTACH pass it control in that AMODE regardless of the
caller's addressing mode?
-- gil
ATTACH will pass control in the module's AMODE
regardless of the current AMODE of the attacher.
Perhaps more intriguing: each entry point in a load
module / program object has its own AMODE specification.
--
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
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN