View previous topic :: View next topic
|
Author |
Message |
nivastech
New User
Joined: 17 Aug 2007 Posts: 6 Location: Chennai
|
|
|
|
Hi,
Could anyone suggest what is the use of the data type Y in Assembler languge?
I found the follwong code inside an Assembler Macro:-
Example
.C1100 ANOP ,
&LABEL BALR 10,10
DC Y(&REQCODE)
MEXIT ,
Where &REQCODE is one of the parameters passed while calling the MACRO
MACRO ,
&LABEL <Macroname> &REQCODE,
&ACTION=REQUEST |
|
Back to top |
|
|
nivastech
New User
Joined: 17 Aug 2007 Posts: 6 Location: Chennai
|
|
|
|
Hi All,
I searched the manual..should have done it before...
Y -Address Value of address; normally a halfword
Thanks |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
A counterpart to a Y is an AL2. The difference being a Y is halfword aligned whereas, an AL2 is not.
If you're tight for space, the AL2 can save you addressability.
EG:
Code: |
BIGAREA DS CL4096
BIGAREAL DC Y(L'BIGAREA) GENERATES X'1000'
BIGAREAL DC AL2(L'BIGAREA) SAME AS ABOVE
|
Bill |
|
Back to top |
|
|
|