What is the macro to generate facility bit EQUs?
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Assembler List [ASSEMBLER-LIST@LISTSERV.UGA.EDU] on behalf of Mark Boonie [boo...@us.ibm.com] Sent: Friday, March 4, 2022 1:12 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Long Displacement Facility (was: Fun with RXSBG) > I went back and checked: > > > o Long-displacement facility was first documented in SA22-7832-02 > > o STFLE was first documented in SA22-7832-04 If you need to test a facility bit in the range of 0-31 then use the list of bits stored by the STORE FACILITY LIST instruction, which should have been placed in some common location by the OS you're running on, typically at location x'C8'. If you need to test a facility bit >=32 *and* you might possibly be running on a pre-z9 machine(!) then first test bit 7 of the result stored by STORE FACILITY LIST to see if STFLE is available, and if it is then issue the STFLE instruction (if the output isn't already available somewhere) and test the bit from the list of bits stored. (More logic is required to ensure the bit you're checking is actually stored by STFLE; refer to Principles of Operation for details.) - mb -----Original Message----- From: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> On Behalf Of Ed Jaffe Sent: Friday, March 4, 2022 12:53 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: [EXTERNAL] Re: Long Displacement Facility (was: Fun with RXSBG) On 3/4/2022 9:31 AM, Dave Clark wrote: > "IBM Mainframe Assembler List" <ASSEMBLER-LIST@LISTSERV.UGA.EDU> wrote on > 03/04/2022 12:19:51 PM: >> IIRC, STFLE is newer than the Long Displacement Facility. LOL > It wouldn't appear so. STFLE is facility 7 and LDF is facility 18. I went back and checked: o Long-displacement facility was first documented in SA22-7832-02 o STFLE was first documented in SA22-7832-04 -- Phoenix Software International Edward E. Jaffe 831 Parkview Drive North El Segundo, CA 90245 https://secure-web.cisco.com/1DL9l0sIek3RCGGrMkPCIedAfeUjyQTMmykcYxTTsZ6gfr01W05Ih2_VyC_UUbcy5XKL1CaHxPMVynzWg4_jYc795y5rmZHh7bxX32zvVc5tfBuyYQWP6ZR39WI2TI5fUQ5nadljaJd-dJkOIWyjwWpy-sbWdurenQa-Omhecksk4Jy4rzNPtpQSI0JBJJ39zVQjmvjXnl2k4KVCtxWd_u6IcUYyV8_sn4xudhf3DGtEkfXG7Ks-D3UqMzKEuteu7BGDAlA8tuxnAlf4Zg8jXln1DKyf6wu5zubFCM9pP_eqpDhnvRHY2J9_m96hCCOGX-R6af4kGEPrijPEjPnUNGedAl_IDJEvX62yaKnPzdfhxDo9X8UDhNfp4Vj4b62FjXjwa4aSO8u3FusTCZJvZ-SUv4eJPMCa0L7TQllWykwRUbAxbA5M_goXXlxs5rHwq/https%3A%2F%2Fwww.phoenixsoftware.com%2F -------------------------------------------------------------------------------- This e-mail message, including any attachments, appended messages and the information contained therein, is for the sole use of the intended recipient(s). If you are not an intended recipient or have otherwise received this email message in error, any use, dissemination, distribution, review, storage or copying of this e-mail message and the information contained therein is strictly prohibited. If you are not an intended recipient, please contact the sender by reply e-mail and destroy all copies of this email message and do not otherwise utilize or retain this email message or any or all of the information contained therein. Although this email message and any attachments or appended messages are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by the sender for any loss or damage arising in any way from its opening or use.