FWIW, I frequently use MVCIN to place eyecatchers in data structures
to avoid false hits if and when it becomes necessary to search through
a dump for the structure.  For example:

         MVCIN XxwaEye,=C'AWXX'+3     Put C'XXWA' in eyecatcher field

I also used it recently, along with a CUSE, to work from right to left
through a USS path/filename designation in order to identify and create
any non-existing directories.

So, in my book, like so many other instructions, its usefulness is 
limited only by one's imagination.


At 12:15 PM 10/10/2005, john gilmore wrote:
  
>As Bruce has pointed out, this instruction continues to be available.
>
>Moreover, it has a number of at least moderately obvious uses.  For example, 
>many binary-to-decimal conversion routines generate digits in right-to-left, 
>least-to-most significant, sequence; and MVCIN can be used to reverse them.  
>(It is much cheaper than the recursive scheme advocated in a celebrated C 
>textbook for addressing this problem.)
>
>More importantly, the comment
>
>>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.
>
>is fatally provincial even in more mundane contexts.  Many natural languages 
>generate text in one of the last three of the four sequences
>
>Left Left (LL):
>------------------------->
>------------------------->
>-------->
>
>Right Right (RR):
><-------------------------
><-------------------------
><---------------
>
>Left Boustrophedon (LB):
>------------------------->
><-------------------------
>------------->
>
>Right Boustrophedon (RB):
><-------------------------
>------------------------->
>                  <------
>
>and for them, although not of course for LL and the standard Europoean 
>languages, MVCIN is very useful for formatting display or print text.



==================================================
Art Celestini       Celestini Development Services
Phone: 201-670-1674                    Wyckoff, NJ
=============  http://celestini.com  =============
Mail sent to the "From" address  used in this post
will be rejected by our server.   Please send off-
list email to:  ibmmain<at-sign>celestini<dot>com.
==================================================

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to