Or use AD when the value is an expression. -----Original Message----- From: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> On Behalf Of Charles Mills Sent: Tuesday, June 25, 2019 20:23 To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: ltorg question
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:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Joseph Reichman Sent: Tuesday, June 25, 2019 6:03 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: ltorg question Thought it was a double word As in DS D > On Jun 25, 2019, at 9:01 PM, Mike Hochee <mike.hoc...@aspg.com> 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:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Joseph Reichman > Sent: Tuesday, June 25, 2019 8:35 PM > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > 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 DXC Technology Company - Headquarters: 1775 Tysons Boulevard, Tysons, Virginia 22102, USA. DXC Technology Company -- This message is transmitted to you by or on behalf of DXC Technology Company or one of its affiliates. It is intended exclusively for the addressee. The substance of this message, along with any attachments, may contain proprietary, confidential or privileged information or information that is otherwise legally exempt from disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate any part of this message. If you have received this message in error, please destroy and delete all copies and notify the sender by return e-mail. Regardless of content, this e-mail shall not operate to bind DXC Technology Company or any of its affiliates to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.