Article View: bit.listserv.asm370
Article #117Shifting memory to the right
From: Don Nielsen
Date: Fri, 30 Sep 2005 13:56
Date: Fri, 30 Sep 2005 13:56
24 lines
2604 bytes
2604 bytes
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:
<F57FDB5201A2AA488C21CC5CC9759029848D5D@cdmail.cmscms.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!logbridge.uoregon.edu!canoe.uoregon.edu!newsfeed.news.ucla.edu!newsfeed.berkeley.edu!ucberkeley!sn-xit-02!sn-xit-06!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!cmscms.com!donnShow Full Headers
Complete Article Headers
X-Google-Thread: fcdcb,3e46d196c2b56e33,start
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!logbridge.uoregon.edu!canoe.uoregon.edu!newsfeed.news.ucla.edu!newsfeed.berkeley.edu!ucberkeley!sn-xit-02!sn-xit-06!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!cmscms.com!donn
From: Don Nielsen <donn@cmscms.com>
Newsgroups: bit.listserv.asm370
Subject: Shifting memory to the right
Date: Fri, 30 Sep 2005 08:56:15 -0500
Organization: SAS Inc.
Lines: 24
Sender: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Message-ID: <F57FDB5201A2AA488C21CC5CC9759029848D5D@cdmail.cmscms.com>
NNTP-Posting-Host: mozart.unx.sas.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: foggy.unx.sas.com 1128088767 13424 10.19.150.41 (30 Sep 2005 13:59:27 GMT)
X-Complaints-To: usenet@unx.sas.com
NNTP-Posting-Date: Fri, 30 Sep 2005 13:59:27 +0000 (UTC)
Comments: Gated by NETNEWS@VM.SAS.COM
Return-Path: <owner-assembler-list@LISTSERV.UGA.EDU>
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
Thread-Topic: Shifting memory to the right
Thread-Index: AcXFxrlhVboKC+O0RCyfYfk2hSlnpw==
X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.cc.uga.edu id
j8UDsdZM024835
Approved-By: Don Nielsen <donn@CMSCMS.COM>
Return-Path: owner-assembler-list@LISTSERV.UGA.EDU
X-OriginalArrivalTime: 30 Sep 2005 13:59:26.0123 (UTC)
FILETIME=[2B0AF7B0:01C5C5C7]
X-Mime-Autoconverted: from 8bit to quoted-printable by mime827
Originator: daemon@mozart.unx.sas.com