On 12/17/2016 7:36 AM, Peter Relson wrote:
I will mention that, unless you are returning to your caller by PR or perhaps your RB ends, you might want to avoid using a "model PSW" and instead use "EPSW" in order to make sure that you have all of the current bits that might conceivably apply (now and in the future). You'd still do the STNSM approach because the EPSW-captured PSW might have an in-transit PER bit. Unfortunately EPSW is, I believe, pretty slow.
Yeah. This code was written back in the 1980s before EPSW (which is a GREAT instruction BTW that came out only about 30 years too late) was even a glimmer in some hardware developers eye. ;)
-- Edward E Jaffe Phoenix Software International, Inc 831 Parkview Drive North El Segundo, CA 90245 http://www.phoenixsoftware.com/ ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
