On Tue, 17 Mar 2015 13:01:42 -0500, John McKown <[email protected]> 
wrote:

>On Tue, Mar 17, 2015 at 12:10 PM, Paul Gilmartin
><[email protected]> wrote:
><snip>
>> Sigh.  Cf. UNIX, which certainly doesn't let exit() branch to a 
>> user-modifiable address.
>> A better designed END SVC would branch, not to the R15 in a key 8 RSA, but 
>> to a
>> caller's address kept in protected storage.

PR.
With BAKR 14,0 on entry

>SVC 3 (EXIT) does not return to R15 in the RSA, but 

No, it doesn't; it's the other way around. When the system passes 
control to your program, such as by ATTACH(X), LINK(X) or SYNCH(X), 
register 14 contains the address of CVTEXIT. CVTEXIT is an SVC 3 
instruction.

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