On Wed, 17 Oct 2018 15:20:44 -0700, Charles Mills wrote:

>And FWIW there is another overlapping complexity here besides AMODE 64 -- 
>speaking in theory only, because there is no reality of 64-bit COBOL.
>
>... A program could be AMODE 31 but either destroy the high halves of a 
>caller's registers and/or expect a called program to preserve the high halves 
>of its registers. (There are many common uses of all 64 bits of a register 
>outside of AMODE 64.)
> 
Sounds like a "Don't do that!"  Must a 31-bit caller not depend on both
halves of R2-R13 being preserved by a 31-bit subroutine?

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to