> 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.

Don't even flirt with the idea! The only legal way to accomplish what
you want would be to provide a space-switch PC in your home address
space and call that to get you back into PASN=HASN. It is doable, but
far more complicated than you probably want.

CC

----------------------------------------------------------------------
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

Reply via email to