MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Field Selectors in Assembly

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
rnanavaty
Beginner


Joined: 12 Apr 2006
Posts: 29
Topics: 20

PostPosted: Sat Feb 17, 2007 5:49 am    Post subject: Field Selectors in Assembly Reply with quote

I am unable to interpret the following sentence due to L' and didn't found it in manual also: For ex

LA R6,L'KENTRY(R6)


Here KENTRY is a field of 7 bytes and R6 points to one table defined as

KCAN DS 0CL7

DC C'901010',C'1'
DC C'931010',C'1'
DC C'931310',C'1'
DC C'931410',C'1'

How we can use this table by defining only 7 bytes. It is clear that we can one entry at a time but what exactly L' helps in it???
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Sat Feb 17, 2007 7:07 am    Post subject: Reply with quote

rnanavaty,

L' is a data attribute which gives the number of bytes that data occupies in storage.

Check this link which explains in detail about all the data attributes.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ASMR1003/9.3?DT=20000721044852

The length attribute is explained in 9.3.3

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Tue Feb 20, 2007 2:34 pm    Post subject: Reply with quote

If the size of KENTRY changes to 8 bytes, the instruction doesn't need to change.

It would need changing if it were:

LA R6,7(R6)
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group