Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Assembler MVC Instruction

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
srishyla_ks

New User


Joined: 07 Jun 2005
Posts: 2

PostPosted: Thu Dec 22, 2005 11:46 am    Post subject: Assembler MVC Instruction
Reply with quote

Hi, can anyone please tell me, why MVC insruction can move a maximum of 256 byte data


thanks in advance
Back to top
View user's profile Send private message

jon_s_rice

Active User


Joined: 24 Mar 2005
Posts: 102
Location: Douglasville, GA USA

PostPosted: Thu Dec 22, 2005 4:47 pm    Post subject:
Reply with quote

The length of the field is contained in a single byte of the instruction.
Back to top
View user's profile Send private message
KMK

New User


Joined: 29 Jul 2005
Posts: 18

PostPosted: Thu Dec 22, 2005 5:25 pm    Post subject: Re: Assembler MVC Instruction
Reply with quote

Hi,

To be more precise MVC instruction is of SS format

MVC D1(L,B1),D2(B2)
ie bit position are as follows

D1 0 - 8

L 9 - 16

B1 17 - 20

D1 21- 32

B2 33 - 36

D2 37 - 47

Where L ie length occupies only 8 bits hence 2 power 8 = 256 it can hold.
Hence we can move only data of length 256.
Back to top
View user's profile Send private message
ap_mainframes

Active User


Joined: 29 Dec 2005
Posts: 181
Location: Canada

PostPosted: Thu Dec 29, 2005 8:57 am    Post subject: Re: Assembler MVC Instruction
Reply with quote

Hi,
MVC is a SS type of instruction and in these type of instructions Length is of 1 byte.So the maximum FF can be accomodated hence the operation carried out can have a limit of 256 bytes.
Hope this answers.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts A not very Christmassy PL/I tale, wit... prino PL/I & Assembler 3 Mon Dec 26, 2016 1:01 am
No new posts Online Assembler Program Starting point Aditya.Srivastava PL/I & Assembler 4 Fri Jul 08, 2016 6:48 pm
This topic is locked: you cannot edit posts or make replies. MVS Assembler profiles for Pune Locat... shailesh_do Mainframe Jobs 0 Mon Feb 22, 2016 6:21 pm
No new posts ASRA abend calling Assembler from CICS surya8 PL/I & Assembler 13 Thu Sep 10, 2015 7:50 pm
No new posts Is Enterprise PL/I v4.2 compatible wi... sundarkudos PL/I & Assembler 2 Wed Aug 19, 2015 11:15 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us