So there was no intention to run under z/OS? 

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Paul Edwards <[email protected]>
Sent: Monday, May 14, 2018 10:21 AM
To: [email protected]
Subject: Re: GETMAIN LOC=32

On Mon, 14 May 2018 07:14:40 -0500, Tom Marchant <[email protected]> 
wrote:

>In all of this, I don't remember the OP ever mentioning saving and restoring
>the 64-bit registers. Without doing that the calling conventions are violated,
>and you are breaking any AMODE(64) caller.

The intention was for this to be used by a 32-bit
program, that only executes 32-bit instructions,
that only ever change 32-bit registers, which
means that you only need to save and restore
32-bit registers.

BFN. Paul.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to