Going to as soon as I m done with work
On Aug 29, 2019, at 1:13 PM, Seymour J Metz <sme...@gmu.edu> wrote: >> In AMODE 24, BALR sets bit 32 to 0; > > Yes, and BAL sets it to 1, for the same reason. As I stated, "for 24-bit > mode, bits 32-33 are 01 after BALR and 10 after BAL" > >> in AMODE 31 to 1. I have used this to detect AMODE in code that had to run >> in >> both XA and 370 without causing a program check. > > Try that with a BAL instead of a BALR and see what happens. > > -- > Shmuel (Seymour J.) Metz > http://mason.gmu.edu/~smetz3 > > > ________________________________________ > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of > Paul Gilmartin <0000000433f07816-dmarc-requ...@listserv.ua.edu> > Sent: Thursday, August 29, 2019 1:01 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: ILC of BAL, BALR > >> On Thu, 29 Aug 2019 16:54:15 +0000, Seymour J Metz wrote: >> >> No, that means that for 24-bit mode, bits 32-33 are 01 after BALR and 10 >> after BAL, per p. 6-7; the ILC is not stored for 31-bit and 64-bit modes. >> > In AMODE 24, BALR sets bit 32 to 0; in AMODE 31 to 1. I have used > this to detect AMODE in code that had to run in both XA and 370 without > causing a program check. > > -- gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN