On Mon, 13 Jun 2016 14:05:40 -0700, Charles Mills <[email protected]> wrote:

>Okay, got it. The rules for a called program and the rules for the IBM macros 
>are the same (except as otherwise explicitly specified):
>
>- The high halves of R2 through R13 must go back as they arrived.
>- The high halves of R14 through R1 are fair game. You can use a grande 
>instruction or an IBM macro in your subprogram and not worry about restoring 
>R14 through R1.

Not quite:

<quote>
o The low halves (Bits 32-63) of GPRs 2 through 13 are unchanged  
o The high halves (Bits 0-31) of GPRs 2 through 14 are unchanged  
</quote>

It seems to me that the low half of 14 should be unchanged as well, but that's 
not what the book says.

-- 
Tom Marchant

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

Reply via email to