🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.asm370
Article #79

Re: Shifting memory to the right

#79
From: David P. de Jongh
Date: Mon, 10 Oct 2005 13:31
52 lines
3583 bytes
MVCIN (a) is no longer supported and (b) moved data in reverse order, so
C'ABCDE' would be moved as C'EDCBA'.  Very useful if you put a card in the
reader backwards, I'm sure, but I for one could never think of a real use
for it.

D de J

-----Original Message-----
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU]
On Behalf Of Mon R. Santos
Sent: Sunday, October 09, 2005 9:53 PM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: Shifting memory to the right

Hi Don,

Sorry for coming in late, but doesn't the MVCIN (move inverse) instruction
do that? or am I way off?


-----Original Message-----
From: IBM Mainframe Assembler List
[mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU]On Behalf Of Don Nielsen
Sent: Friday, September 30, 2005 11:56 PM
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: <003301c5cd9e$ec189cd0$0100a8c0@davidantecp4>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!newsfeed.news2me.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!sn-xit-02!sn-xit-10!sn-xit-01!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!worldnet.att.net!daviddejongh

Show 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!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!newsfeed.news2me.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!sn-xit-02!sn-xit-10!sn-xit-01!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!worldnet.att.net!daviddejongh
From: "David P. de Jongh" <daviddejongh@worldnet.att.net>
Newsgroups: bit.listserv.asm370
Subject: Re: Shifting memory to the right
Date: Mon, 10 Oct 2005 08:31:29 -0500
Organization: SAS Inc.
Lines: 52
Sender: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Message-ID: <003301c5cd9e$ec189cd0$0100a8c0@davidantecp4>
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 1128951408 28832 10.19.150.41 (10 Oct 2005 13:36:48 GMT)
X-Complaints-To: usenet@unx.sas.com
NNTP-Posting-Date: Mon, 10 Oct 2005 13:36:48 +0000 (UTC)
Comments: Gated by NETNEWS@VM.SAS.COM
Return-Path: <owner-assembler-list@LISTSERV.UGA.EDU>
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.6626
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.cc.uga.edu id
                      j9ADVWJE015152
Approved-By: "David P. de Jongh" <daviddejongh@WORLDNET.ATT.NET>
In-Reply-To: <006801c5cd45$b6722aa0$f200a8c0@s3090>
Return-Path: owner-assembler-list@LISTSERV.UGA.EDU
X-OriginalArrivalTime: 10 Oct 2005 13:36:45.0532 (UTC)
                       FILETIME=[A832C1C0:01C5CD9F]
X-Mime-Autoconverted: from 8bit to 7bit by mime827
Originator: daemon@mozart.unx.sas.com