No! It all depends. I don't think you can magically code such that added or deleted flags will not affect your logic. What flag was added or deleted? How does it affect your intended business logic?
I would think generally one would not want to change mask equates. Doing so would be a booby trap for others, or even for yourself. Charles -----Original Message----- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Janko Kalinic Sent: Monday, December 13, 2021 10:24 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Hints for coding JES2 exit routines (z/OS JES2 Documentation) Assembler instructions - All TM (test-under-mask) instructions should use BO/BOR/BNO/BNOR/BM/BMR branch instructions rather than BZ/BZR/BNZ/BNZR branch instructions. If this technique is used, the logic of the branch instruction does not have to be modified when adding or deleting flags in the instruction mask. Is everyone in agreement on the above branch instruction recommendation? Regards, John K