I cannot answer your question, it is probably depending on how the hardware works on different machines.
Another question: what is the purpose of this instruction? Is it executed that often that it is worthwhile to make an instruction to replace 2 instructions (Load+AND, MOVE+AND) or is there another reason? Kees. > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Jerry Callen > Sent: 24 July, 2019 14:22 > To: [email protected] > Subject: What's the intent of the "LOAD AND ZERO RIGHTMOST BYTE" > instruction? > > Is it Friday yet? > > The z13 (I think) added this puppy: > > ========================= > > LOAD AND ZERO RIGHTMOST BYTE > > The second operand, with the rightmost byte set to zero, is placed at the > first-operand location. For LZRF, the first and second operands are 32 > bits, and for LZRG, the first and second operands are 64 bits. > > The displacement is treated as a 20-bit signed binary integer. > > It is unpredictable whether an access exception is recognized for the > rightmost byte of the second operand. > > ========================= > > Why? > > -- Jerry > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN ******************************************************** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ******************************************************** ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
