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 <[email protected]> On Behalf 
Of Paul Gilmartin
Sent: Thursday, May 19, 2022 14:49
To: [email protected]
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

Reply via email to