On Thu, 4 Feb 2010 21:35:14 +0100, Abe Kornelis wrote:
>Paul Gilmartin wrote:
>> SYS1.MACLIB(RETURN) also contains:
>>
>>         OI    15(13),X'01'                      SET RETURN INDICATION
>
>That would set the low-order bit of R14, which is the
>save return address. In the 24-bit and 31-bit environs
>that would make the return address invalid.

Yes, but that is irrelevant, since R14 has already been loaded.

>Nifty,
>but tricky when you're doing 64-bit stuff.

If you are using 64-bit registers you shouldn't be using a 72-byte save area.

>
>I gave it a quick look, but there seem to be so many
>logic paths through the macro that I kinda lost track.
>By the look of it, it won't generate the OI instruction
>in all cases...

Only if "T" is specified.  See the RETURN documentation.

-- 
Tom Marchant

----------------------------------------------------------------------
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