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

Assembler MVC Instruction


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Build dataset list with properties us... PL/I & Assembler 4
No new posts Finding Assembler programs PL/I & Assembler 5
No new posts How Can I Recall a Migrated Data Set ... PL/I & Assembler 3
No new posts step by step trace 4 ISPF dialog call... TSO/ISPF 17
No new posts Getting SOC4 while calling a Cobol DB... PL/I & Assembler 4
Search our Forums:

Back to Top