Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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 -> Other Mainframe Topics
Author Message
srishyla_ks

New User


Joined: 07 Jun 2005
Posts: 3

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
References
jon_s_rice

Active User


Joined: 24 Mar 2005
Posts: 106
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: 140
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1