On 2018-07-18, at 11:42:43, Charles Mills wrote:
>
> Going from structs to DSECTs would make a lot of sense except that there is
> no C equivalent of SYSADATA, so the utility would have to have its own
> built-in (partial) C compiler. Going from PL/X to DSECTs (or C headers!)
> makes a lot of (technical) sense.
>
I hadn't understood that CDESECT exploited SYSADATA. That's
a great advantage.
> Generally. Of course HLASM is all but untyped. A might mean an integer
> constant, especially since A supports expressions while F somewhat
> inexplicably does not. You can code A(BUFF_LEN+7) but not F'BUFF_LEN+7'.
>
OTOH,
DC F'-2147483648' assembles successfully, while
DC A(-2147483648) gets a syntax error.
A designer's perverse notion of completeness?
-- gil