On 6/26/2013 8:06 PM, DASDBILL2 wrote:
Instead of zeroing your caller's R13, how about doing a LC R 13,13?  Then if 
someone adds to your module and attempts to store into your module's 
(non-existent) save area, the new code will likely get a S0C4 on the store.  
Then when your original code returns to your caller, you do another LC R to 
restore R13 as it was upon entry.  Or maybe do a LNR at entry and a LPR upon 
return?

AFAIK, there is only one 4K range of virtual addresses guaranteed to generate 0C4 now and forever: 7FFFF000 - 7FFFFFFF.

--
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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to