That depends on whether you want wrap-around. The BC 10 will branch on either zero with no carry or zero with carry; if you want only zero with carry, use JZ.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Assembler List [[email protected]] on behalf of Paul Gilmartin [[email protected]] Sent: Thursday, April 21, 2022 1:38 PM To: [email protected] Subject: Test for zero after Add Logical I believe the Reference Summary Page 35 tells me that the instruction to test for a zero result after Add Logial is AL BC 10,addr There's no extended mnemonic for this. For clarity, its it preferable too code: AL LTR BZ add ??? -- gil
