In 1985 (first MF assembler gig, I had been doing PC programming before
that), we were using Assembler H on MVS/XA (as I recall).  Our shop
standard was to use EQU * for labels and ALWAYS code a a label on a branch
in open code, even if it was just skipping a single instruction.  Macros
were another matter (and we had a lot).

Personally, I've only had a couple of instances since 1982 where EQU *
caused an issue that DS 0H wouldn't have...and the assembler caught those.



*Mark*


On Fri, Aug 3, 2018 at 11:03 AM Tony Thigpen <[email protected]> wrote:

> I was taught that to make it easy to read, do the following:
>        BL   *+4+2
>         LR  R1,R2
> or
>        BL   *+4+2+4
>         LR  R1,R2
>         LA  R3,0(,r1)
> It may not look right in your email, but the branched around
> instructions are indented one extra character.
>
> Tony Thigpen
>
> Phil Smith III wrote on 08/03/2018 10:40 AM:
> > Peter Relson wrote:
> >
> > I don't remember who taught me the technique, though it must have been
> at UofW in the early 80s. I internalized it as "This isn't a 'real'
> branch-that is, we aren't going very far, just skipping a single
> instruction". And I would never, ever, ever consider doing it for more than
> one instruction.
> >
> >
>

Reply via email to