I used to do this but got rid of them all during our AMODE=64 conversion
project.
For AMODE=64, the L gets [programmatically?] changed to a LGF or LLGF, and
the *+8 is now in the middle of an instruction!
Even without AMODE=64, if for extended displacements, someone changes the L
to LY, you have the same problem.

Robert Ngan
CSC Financial Services Group

IBM Mainframe Assembler List <[email protected]> wrote on
2015/07/02 14:59:44:

> From: zMan <[email protected]>
> To: [email protected]
> Date: 2015/07/02 15:02
> Subject: *+n branches
> Sent by: IBM Mainframe Assembler List <[email protected]>
>
> I was raised to do single-instruction branches thus:
>         TM   FLAG,BIT               Is the flag bit set?
>         BO    *+8                        Yes, skip next instruction
>         L      R15,SOMEVAL        No, get the value
> *+8   DS    0H
>
> Yes, of course I realize that the "DS 0H" is meaningless, but it helps
> readability.
>
> My question is whether folks see this as:
> - useful
> - common
> - overly clever
> - evil
> ...or what?
>
> I've often wished for an assembly option that would note "*+n" branches
and
> warn if they were not skipping one instruction (and doing so *exactly*!).
> --
> zMan -- "I've got a mainframe and I'm not afraid to use it"

Reply via email to