Article View: bit.listserv.asm370
Article #119Re: Shifting memory to the right
From: Tenberg, Kerry
Date: Fri, 30 Sep 2005 14:53
Date: Fri, 30 Sep 2005 14:53
36 lines
2931 bytes
2931 bytes
Shifting the table down in memory is not a silly idea at all. It's done all the time. KT -----Original Message----- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Don Nielsen Sent: Friday, September 30, 2005 8:56 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Shifting memory to the right Nothing like a dumb applications programmer question to end the week. Is there an instruction like MVCL that moves memory starting at the end working to the beginning. I have a table that is in sequence. I want to insert a new row, maintaining sequence. That requires shifting right the end of the table. It would be great to just code an MVCL to do it, but I would be overwrite data. But if MVCL started with the last byte and worked its way to the start, then the shift would be easy. Does any such instruction or function exist? I guess I could do something silly and build the table starting at the end of the of memory block and shift it left as I build it. dvn Don V Nielsen Products & Tools CMS 3707 Corporate Drive Marshfield, WI 54449 donn@cmscms.com > '715-486-8807 X434 > Better Results, Faster!
Technical Details
Message-ID:
<4C38B972143E1A4BA2D5E1F12104ECA6081C2A55@aus-ex-01.adprod.bmc.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!sn-xit-03!sn-xit-10!sn-xit-01!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!bmc.com!Kerry_TenbergShow Full Headers
Complete Article Headers
X-Google-Thread: fcdcb,3e46d196c2b56e33
X-Google-Attributes: gidfcdcb,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!sn-xit-03!sn-xit-10!sn-xit-01!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!bmc.com!Kerry_Tenberg
From: "Tenberg, Kerry" <Kerry_Tenberg@bmc.com>
Newsgroups: bit.listserv.asm370
Subject: Re: Shifting memory to the right
Date: Fri, 30 Sep 2005 09:53:02 -0500
Organization: SAS Inc.
Lines: 36
Sender: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Message-ID: <4C38B972143E1A4BA2D5E1F12104ECA6081C2A55@aus-ex-01.adprod.bmc.com>
NNTP-Posting-Host: mozart.unx.sas.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: foggy.unx.sas.com 1128092355 15454 10.19.150.41 (30 Sep 2005 14:59:15 GMT)
X-Complaints-To: usenet@unx.sas.com
NNTP-Posting-Date: Fri, 30 Sep 2005 14:59:15 +0000 (UTC)
Comments: Gated by NETNEWS@VM.SAS.COM
Return-Path: <owner-assembler-list@LISTSERV.UGA.EDU>
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
content-class: urn:content-classes:message
Thread-Topic: Shifting memory to the right
Thread-Index: AcXFxrlhVboKC+O0RCyfYfk2hSlnpwAB7LpA
X-OriginalArrivalTime: 30 Sep 2005 14:53:03.0632 (UTC)
FILETIME=[A8D3E100:01C5C5CE]
X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.cc.uga.edu id
j8UEr5ij004717
Approved-By: "Tenberg, Kerry" <Kerry_Tenberg@BMC.COM>
Return-Path: owner-assembler-list@LISTSERV.UGA.EDU
X-Mime-Autoconverted: from 8bit to 7bit by mime827
Originator: daemon@mozart.unx.sas.com