> Is this useful?

I think it is at least consistent (and yes, I know ...). I think ORG behaves
the same way.

> is otiose

Nay, it "documents" that two functions are being performed: achieving
alignment and defining a label. "not the most compact representation" is not
synonymous with otiose.

Charles


-----Original Message-----
From: IBM Mainframe Assembler List [mailto:[email protected]]
On Behalf Of Paul Gilmartin
Sent: Tuesday, June 2, 2020 8:40 AM
To: [email protected]
Subject: Re: z/OS HLASM: EQU for statement labels

On 2020-06-02, at 09:33:48, Charles Mills wrote:
> 
> I don't claim any benefit to the technique, it's just my habit. Actually I
think the cleanest is a DS 0H followed by label EQU *. That clearly shows
what is going on: re-establishing halfword alignment followed by mapping a
label to an address.
>  
I found it ironic that:
LABEL    CNOP  ...
assigns the address of the beginning of the padding rather
than the end to LABEL.  Is this useful?

Fortunately,
LABEL    DS    0H
does the opposite so your 2-instruction construct is otiose.

-- gil

Reply via email to