I stand corrected for AR-mode vs. primary mode programs.
I was thinking of a common way of using ARs in applications, which is to
load them as needed within a primary mode program, switch to AR-mode,
access the data in the data space, and then switch back to primary mode.
But the assumption in the chapter 2 linkage conventions is that,
unless otherwise documented, access registers are preserved across calls
to any other programs. That didn't seem to be our experience when using
CICS services 10-12 years ago. But perhaps that's changed or been
documented.
Gary Weinhold
On 2014-12-17 09:02, Tom Marchant wrote:
On Mon, 15 Dec 2014 16:43:00 -0500, Gary Weinhold wrote:
ARs are entirely your
responsibility (saving them all (if you wish), zeroing them before
entering ARmode (except for those you want values in), and restoring
them (if you wish)). The "if you wish" is because it appears IBM never
set any standard conventions for who is responsible for preserving ARs
Not true. Haven't you read chapter 2 of the Assembler Services Guide?