View previous topic :: View next topic
|
Author |
Message |
abhay pratap singh
New User
Joined: 22 Nov 2007 Posts: 77 Location: noida
|
|
|
|
Hi All,
I got one statement in my assembler program as
XYZ DS FD
Can anyone tell me what is meaning of FD and how many bytes this will take for storage. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
You can generate the length by specifying -
=A(L'XYZ) can then be found in the LTORG as a fullword.
I've never used an FD directive, so I'm unsure of its length.
Bill |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
It seems to be an aligned-doubleword, but you can give it a constant in decimal-format, like a fullword. EG:
Code: |
Y2KSECS DC FD'3155673600' 2000/01/01 IN SECONDS
QUADWRD DS L ALIGNED-QUADWORD
|
You can then use this in 64-Bit instructionS (EG: Load Grande and Convert to Decimal Grande) -
Code: |
LG R15,Y2KSECS LOAD 64-BIT REGISTER
CVDG R15,QUADWRD MAKE IT 16-BYTES DECIMAL
|
Bill |
|
Back to top |
|
|
|