From: "Seymour J Metz" <sme...@gmu.edu>
To: <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Sent: Friday, April 22, 2022 7:19 AM
Subject: Re: Test for zero after Add Logical
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.
JZ will jump on zero with NO carry.
________________________________________
From: IBM Mainframe Assembler List [ASSEMBLER-LIST@LISTSERV.UGA.EDU] on behalf of Paul Gilmartin
[00000014e0e4a59b-dmarc-requ...@listserv.uga.edu]
Sent: Thursday, April 21, 2022 1:38 PM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
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
???
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus