======================================
-----Original Message-----
From: "Bob Shannon" <[EMAIL PROTECTED]>
Sent: 7/24/2006 9:55 AM
To: "[email protected]" <[email protected]>
Subject: Re: Program Call (PC) routine in AMODE(64)

>The main issue is my PC service routines are called by anyone on old
boxes >or newer boxes.

>If that caller happens to be an AMODE(64) routine, they must perform
z/OS >1.8 test. If they try to call my PC routine in AMODE(64), they
will abend >unless I have set the ETDEAM bit.
>So my callers are stuck with adding logic to switch amodes and test CVT
>flags. sigh...

Unless your PC routine will process data above the bar, there is no need
to execute in 64-bit addressing mode. What Peter Relson suggested for
your PC routine to test the architectural capability of the machine and
to set the addressing mode accordingly. There is no need for callers of
the PC routine to do anything special.

Bob Shannon
Rocket Software
======================================

If my callers are AMODE(64) and my PC is not, they will
get a program check on the PC instruction.


Jeffrey D. Smith
Farsight Systems Corporation
24 BURLINGTON DR
LONGMONT, CO 80501
303-774-9381 direct
303-709-8153 cell
303-484-6170 fax

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to