There are now XIHF and XILF to do an Xor of the "high" 32 bits or the "low" 32 bit (respectively) with an immediate fullword.
Curiously, there are NIHF, NILF for fullword aNd Immediate fullword. But there are also NIHH, NIHL, NILH, NILL to do halfword "and immediates" to bits 0..15, 16..31, 32..47, and 48..63 of the specified 64-bit register. Likewise, replace the leading NI with OI for corresponding "Or Immediate" instructions. Why was "Exclusive Or" short changed to not have the halfword immediate variants? My guess is simply that IBM simply did not see any of their code which required this. The "and" and "or" instruction variants may have been implemented via multiple instructions in many places. I don't know. -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * john.mck...@healthmarkets.com * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM > -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Shmuel Metz > (Seymour J.) > Sent: Thursday, August 02, 2012 11:16 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Why ain't there no XILL? > > In <50195a2f.3030...@dignus.com>, on 08/01/2012 > at 12:32 PM, Thomas David Rivers <riv...@dignus.com> said: > > >Maybe they were running out of acreage? But XOR > >is very doable with a few NOTs, ANDs and ORs... > > Aren't OIL and NIL MVS macros rather than z instructions? > > The exclusive or instructions have been present since the dawn of > Time, so why not write your own XIL macro if you need it? There's no > need to do X with multiple instructions. > > -- > Shmuel (Seymour J.) Metz, SysProg and JOAT > Atid/2 <http://patriot.net/~shmuel> > We don't care. We don't have to care, we're Congress. > (S877: The Shut up and Eat Your spam act of 2003) > > ---------------------------------------------------------------------- > 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