Re: Quadword constant
If you have more than an academic interest, there's always RFE, also not new. In my limited world, the need for writing constants > 2G has not really come up much. The famous =FDS12E6'1' is about it, and already works (one second in TOD format; multiples, up to a few hours at least, also work). sas On Thu, May 19, 2022 at 4:56 PM Paul Gilmartin < 0014e0e4a59b-dmarc-requ...@listserv.uga.edu> wrote: > > On May 19, 2022, at 14:39:49, Steve Smith wrote: > > > > AD > > > > This isn't new. > > > DCAD(100*100) > ??? > >
Re: Quadword constant
> On May 19, 2022, at 14:39:49, Steve Smith wrote: > > AD > > This isn't new. > DCAD(100*100) ??? > On Thu, May 19, 2022 at 3:49 PM Paul Gilmartin wrote: >> On May 19, 2022, at 12:16:45, Ngan, Robert (DXC Luxoft) wrote: >>> >>> FD is a fixed point doubleword. >>> >> Alas, there's no way to define a doubleword constant containing the >> value of an arithmetic expression AL8(2+2)? >> >> Having only a 32-bit assembler for a 64-bit architecture is >> increasingly becoming anachronistic. -- gil
Re: Quadword constant
AD This isn't new. sas On Thu, May 19, 2022 at 3:49 PM Paul Gilmartin < 0014e0e4a59b-dmarc-requ...@listserv.uga.edu> wrote: > On May 19, 2022, at 12:16:45, Ngan, Robert (DXC Luxoft) wrote: > > > > FD is a fixed point doubleword. > > > Alas, there's no way to define a doubleword constant containing the > value of an arithmetic expression AL8(2+2)? > > Having only a 32-bit assembler for a 64-bit architecture is > increasingly becoming anachronistic. > >
Re: Quadword constant
However, AD(2+2) works fine As long as the expression does not exceed a 32-bit signed value. Yes, it would be very useful if HLASM could resolve 64-bit arithmetic expressions, and it's a PITA that it doesn't. Robert -Original Message- From: IBM Mainframe Assembler List On Behalf Of Paul Gilmartin Sent: Thursday, May 19, 2022 14:49 To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Quadword constant On May 19, 2022, at 12:16:45, Ngan, Robert (DXC Luxoft) wrote: > > FD is a fixed point doubleword. > Alas, there's no way to define a doubleword constant containing the value of an arithmetic expression AL8(2+2)? Having only a 32-bit assembler for a 64-bit architecture is increasingly becoming anachronistic. > -Original Message- > From: Schmitt, Michael > Sent: Thursday, May 19, 2022 13:09 > > Today I learned that there isn't a fixed point DOUBLEWORD constant either. > > I never noticed that DC D isn't fixed point, it is floating point. > > > -Original Message- > From: Schmitt, Michael > Sent: Monday, April 18, 2022 10:03 AM > > HLASM has fixed decimal constants for Halfwords, Fullwords, Doublewords, with > appropriate alignment. Why is there none for Quadwords? > > The closest I see is LQ, but that appears to be intended for floating point. -- gil
Re: Quadword constant
On May 19, 2022, at 12:16:45, Ngan, Robert (DXC Luxoft) wrote: > > FD is a fixed point doubleword. > Alas, there's no way to define a doubleword constant containing the value of an arithmetic expression AL8(2+2)? Having only a 32-bit assembler for a 64-bit architecture is increasingly becoming anachronistic. > -Original Message- > From: Schmitt, Michael > Sent: Thursday, May 19, 2022 13:09 > > Today I learned that there isn't a fixed point DOUBLEWORD constant either. > > I never noticed that DC D isn't fixed point, it is floating point. > > > -Original Message- > From: Schmitt, Michael > Sent: Monday, April 18, 2022 10:03 AM > > HLASM has fixed decimal constants for Halfwords, Fullwords, Doublewords, with > appropriate alignment. Why is there none for Quadwords? > > The closest I see is LQ, but that appears to be intended for floating point. -- gil
Re: Quadword constant
FD is a fixed point doubleword. Robert Ngan DXC Luxoft -Original Message- From: IBM Mainframe Assembler List On Behalf Of Schmitt, Michael Sent: Thursday, May 19, 2022 13:09 To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Quadword constant Today I learned that there isn't a fixed point DOUBLEWORD constant either. I never noticed that DC D isn't fixed point, it is floating point. -Original Message- From: IBM Mainframe Assembler List On Behalf Of Schmitt, Michael Sent: Monday, April 18, 2022 10:03 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Quadword constant HLASM has fixed decimal constants for Halfwords, Fullwords, Doublewords, with appropriate alignment. Why is there none for Quadwords? The closest I see is LQ, but that appears to be intended for floating point.
Re: Quadword constant
Today I learned that there isn't a fixed point DOUBLEWORD constant either. I never noticed that DC D isn't fixed point, it is floating point. -Original Message- From: IBM Mainframe Assembler List On Behalf Of Schmitt, Michael Sent: Monday, April 18, 2022 10:03 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Quadword constant HLASM has fixed decimal constants for Halfwords, Fullwords, Doublewords, with appropriate alignment. Why is there none for Quadwords? The closest I see is LQ, but that appears to be intended for floating point.