I have a quick question about how to switch PASN and SASN in XMS mode. I have some assembly code where I want to "BAS 14,SUBFUNC"
At the time of the BAS, I am in AR mode, with SASN=HASN, and PASN=other. After I enter the call, I need to switch this around, so that PASN=HASN and SASN=immaterial Then I can SAC 0 and put myself into primary mode. Obviously just before the BR 14, I need to undo all of this to get back to AR mode, SASN=HASN, etc. Is there an easy way to do this that I haven't found yet, or do I have to hunt down the ASN "get" and "set" instructions (such as SSAR) and issue the various switcharound instructions. Thanks! David Logan . <snip> . HASN = SASN, PASN=other BAS 14,SUBFUNC . <snip> . SUBFUNC DS 0H ; ; Here, I want to SAC 0 to put myself into PRIMARY mode, but I also need to set PASN=HASN ; Before I return, I want to set SAC 512 and restore SASN=HASN and PASN=other . Is there an easy way to do this that I haven't found yet? Thanks! David Logan ---------------------------------------------------------------------- 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

