View previous topic :: View next topic
|
Author |
Message |
vinayknj
New User
Joined: 26 May 2008 Posts: 50 Location: Bangalore
|
|
|
|
Hi,
In Assembler we use L' for the length of a field. I have encountered T' and K' in some of the programs. Can anyone explain the meaning of T' and K' in Assembler? Thanks |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
They are mostly used in conditional assembly language.
See : High Level Assembler for z/OS & z/VM & z/VSE Language Reference Release 6 SC26-4940-05
Chapter 9. |
|
Back to top |
|
|
nigelosberry
New User
Joined: 06 Jan 2009 Posts: 88 Location: Ggn, IN
|
|
|
|
They may be useful if you are writing assembler macros of your own.
T' - type attribute
K' - count attribute
Cheers. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
For example, L' can come in real handy when you need to load the length of a data-area without knowing its actual length beforehand -
Code: |
SMALLAREA DS CL1024
LARGEAREA DS CL65535
LH R1,=Y(L'SMALLAREA) GENERATES A HWORD-LTORG
LH R1,=AL2(L'SMALLAREA) SAME
L R1,=A(L'LARGEAREA) GENERATES A FWORD-LTORG
|
Introduced with HLASM, HWORD immediate instructions have a maximum of 32767 and don't generate an LTORG entry -
Code: |
LHI R1,L'SMALLAREA LOADS H'1024' INTO R1
|
Prior to HLASM, you could use a LA, which has a maximum of 4095.
Bill |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
|