The called program can also set the condition code simultaneously to clearing R15 with the appropriate single instruction. SR does both. If SR 15,15 is immediately followed by BR 14 or the appropriate return instruction, there is no need for the SPM, although there may be other bits that CP is setting with the SPM.
Bill Fairchild Rocket Software -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Binyamin Dissen Sent: Monday, November 29, 2010 11:31 AM To: [email protected] Subject: Re: IEFBR14 :> CALL SOMEPGM,... :> BNZ ERROR :>I saved 2 bytes and one instruction. Today, who cares? On an old S/360??? IIRC, that is how it works in CP (VM). But it required the called routine to set the CC, typically via SPM. -- Binyamin Dissen <[email protected]> http://www.dissensoftware.com ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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

