DS D defines a floating point field. 4110000000000000 is a normalize floating point 1.
Use FD for a fixed 64-bit integer. LTORG is irrelevant. Works the same as a literal or as a DC. Charles -----Original Message----- From: IBM Mainframe Assembler List [mailto:[email protected]] On Behalf Of Joseph Reichman Sent: Tuesday, June 25, 2019 6:03 PM To: [email protected] Subject: Re: ltorg question Thought it was a double word As in DS D > On Jun 25, 2019, at 9:01 PM, Mike Hochee <[email protected]> wrote: > > Hey Joe, > > The 'D' (floating point constant type) and F (fixed point constant type) have been around forever. Somewhere between 95-2002 IBM added the type-extension subfield to the DC instruction. As of 2004, D became a valid type-extension, which clarifies characteristics of the type, so in type-extension context, D is doubleword. ( ftp://public.dhe.ibm.com/software/websphere/awdtools/hlasm/S8164H.pdf pg 3 ) > > For fixed point type double word constants, you can use... ONE DC FD'1' > > I was surprised to stumble across this myself some years ago. > > HTH, > Mike > > -----Original Message----- > From: IBM Mainframe Assembler List [mailto:[email protected]] On Behalf Of Joseph Reichman > Sent: Tuesday, June 25, 2019 8:35 PM > To: [email protected] > Subject: ltorg question > > I see the following literal > > > > 4110000000000000 1403 =D'1' > > > > Shouldn't it of translated to > > 0000000000000001 > > > > And the same for -4 > > C140000000000000 1406 =D'-4' > > Shouldn't it of translated to > > To > > FFFFFFFFFFFFFFFC > > thanks
