View previous topic :: View next topic
|
Author |
Message |
sjothiprakash
New User
Joined: 21 Jul 2007 Posts: 12 Location: Chennai
|
|
|
|
Hi,
Can any one tell me about the purpose of '=Y([any labels])' operand,
e.g : LA R15,=Y(LT101)
What it does?.......... |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
Back to top |
|
|
sjothiprakash
New User
Joined: 21 Jul 2007 Posts: 12 Location: Chennai
|
|
|
|
Thank U very much.......Guy |
|
Back to top |
|
|
bengtpelle
New User
Joined: 28 Aug 2006 Posts: 24 Location: St. Petersburg, FL
|
|
|
|
The Y(x) is not a two byte address constant.
The Y(x) is the same as A(x) except the address is external to current module. It is resolved by the Linkage Editor. |
|
Back to top |
|
|
ironmike
New User
Joined: 07 Aug 2005 Posts: 33
|
|
|
|
Y(label) IS a two-byte address constant, as CICS GUY stated. Y-cons, as they are known, do generate a two-byte address value. The address resolves to an area within the module in which the Y-con is coded. It's wrong to imply that the address is external to the module, since two bytes is not enough to resolve such an address. Y-cons and A-cons are NOT for external references; V-cons are. |
|
Back to top |
|
|
bengtpelle
New User
Joined: 28 Aug 2006 Posts: 24 Location: St. Petersburg, FL
|
|
|
|
Sorry about that.
I agree, I mixed up the Y and the V constant.
I also was thinking of the 2 byte relocatable S constant. |
|
Back to top |
|
|
ganasrinivasan
New User
Joined: 06 Nov 2006 Posts: 27 Location: Montreal
|
|
|
|
Hi all,
Since we are discussing about Y cons. i just want to raise a thought.
Can anyone analysed the contents of the v-con address??!!
I think you may to be clear with my question. Let me put like this.
L r4,=v(t0493)
Assume t0493 is the CSECT Name (another program)
Can anyone know, what will be contents of the Register 4.
If the answer is the address of the load module 'to493' (in this case), then try again..Try to read the contents (Keep OPCODE sheet near by)...
If U feel it is not interesting leave it.. |
|
Back to top |
|
|
manikawnth
New User
Joined: 07 Feb 2007 Posts: 61 Location: Mumbai
|
|
|
|
Hi srinivas,
I think LA will do the transfer of address contents.
L instr will refer to that address.
If the second operand is an address constant, the register will have the address only (of the csect).
I verified by forcing a s0c1 |
|
Back to top |
|
|
|