IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

MVO (Move offset)


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sandeep_das777

New User


Joined: 19 Aug 2010
Posts: 1
Location: Bangalore

PostPosted: Fri Aug 27, 2010 6:41 pm
Reply with quote

Can anyone tell me what the MVO instruction does, especially

MVO ABC,ABC
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Aug 27, 2010 7:16 pm
Reply with quote

Read it yourself in the manual -- if you still have questions after reading the write up and the example in Appendix A, please post them. Principles of Operation
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Aug 27, 2010 8:30 pm
Reply with quote

Before SRP was added to 370 architecture, MVO was used primarily (but not exclusively) for shifting packed-decimal data digits, either right or left.

In your example, ABC is shifting itself 4-Bits left, so high-order truncation of the high-order 4-Bits will occur.

As Robert has suggested, a review of the POPS Manual is in order -

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DZ9ZR003/CCONTENTS?SHELF=DZ9ZBK03&DN=SA22-7832-03&DT=20040504121320

Bill
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts COBOL - Move S9(11)v9(7) COMP-3 to -(... COBOL Programming 5
No new posts How to move the first field of each r... DFSORT/ICETOOL 5
No new posts How to move DB2 Installation HLQ DB2 4
No new posts How to move values from single dimens... COBOL Programming 1
No new posts Printing a dataset in DUMP format wit... ABENDS & Debugging 2
Search our Forums:

Back to Top