On 6/8/2022 6:06 AM, Jonathan Scott wrote:
Please note that there is already an instruction with the mnemonic MVCRL, "Move right to left", used to shift up data to make a gap for inserting new data.
Destructive overlap is often quite useful (for clearing fields, etc), but it's a PITA when you need to insert an entry into the middle of a sequentially-organized table. I have for decades ordered such tables backwards (in reverse address order) to facilitate better-performing inserts using MVCL. Reverse-sequence tables are counterintuitive; harder to understand and debug, but their use has always been worthwhile in light of the performance gains.
The MVCRL instruction (new with z15) is only about four decades too late for me. Still, it will be fun to be able to use it someday (if I live that long...)
-- Phoenix Software International Edward E. Jaffe 831 Parkview Drive North El Segundo, CA 90245 https://www.phoenixsoftware.com/ -------------------------------------------------------------------------------- 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.