Yes, your understanding is correct. Just to clarify one thing, the assembler routine is not AMODE 64 at the module level. It is always entered and exits (assuming no S0C4s!) in AMODE 31. But it uses SAM64 to access above the bar storage, and then SAM31 to get back again. Everything I am doing in terms of the calling is so far as I know utterly vanilla and legal. My extra ESTAE is not, but it is not part of the problem. If I take it out, LE behaves exactly the same as it does on percolation from my ESTAE recovery routine (as one would expect).
What do the IBMers on this list think? Is that something that might be desirable for LE to handle without having to be "fooled"? LE fails to print the high register halves, for example GPR0..... ********_000000C6 GPR1..... ********_00000020 GPR2..... ********_FFFFFFFF GPR3..... ********_00000002 If I had nothing better to do I would open an RFE on that. Even assuming AMODE 31, how can LE assume that the high halves of the registers are of no debugging value? 64-bit register arithmetic -- or even using the high halves of registers as a temporary holding area -- is a valid technique even in the absence of AMODE 64. The C/C++ compiler itself does so. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Bernd Oppolzer Sent: Sunday, August 27, 2017 4:24 PM To: [email protected] Subject: Re: Can AMODE 31 C/C++ get a signal on a S0C1/4 in AMODE 64 assembler? Once again: is my understanding correct, that LE cannot handle the 64 bit situation in the SDWA correctly, and you repair this by modifying the contents of the SDWA in your ESTAE routine, before percolating to LE, that is: you are "fooling" LE, this way repairing (?) the problem that LE has? IMO you should ask IBM for help on this; if calling AMODE 64 Assembler routines is supported from LE HLL programs, LE should be able to handle ABENDs that occur there correctly. Kind regards ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
