Nevermind... I found them both in a copybook for my IF/THEN/ELSE/ENDIF logical construct set. I missed them when I went though initially to change over to relative jump instructions. Fixing them now. Thanks for listening. ;-)
Sincerely, Dave Clark -- int.ext: 91078 direct: (937) 531-6378 home: (937) 751-3300 Winsupply Group Services 3110 Kettering Boulevard Dayton, Ohio 45439 USA (937) 294-5331 On Fri, May 24, 2024 at 11:58 AM David Clark <[email protected]> wrote: > Thanks, Martin. The existing code that has worked for years and years > looked like this. > > IF R8,(K,ALR),R8 > MVI 0(R9),C'1' > ENDIF > > That generated assembled code that looked like this. > > 787 ALR R8,R8 > 788 BNK ELSE0017 > 789+ BC 12,ELSE0017 branch on no carry > > So, you're correct that it appears to be a macro -- but I can't find any > such macro on my system. For fun, I also tried the positive condition and > it generated assembled code that looked like this. > > 787 ALR R8,R8 > 788 BK ELSE0017 > 789+ BC 3,ELSE0017 branch on carry > > Can't find that macro, either. Now what? ;-) > > Sincerely, > > Dave Clark > -- > int.ext: 91078 > direct: (937) 531-6378 > home: (937) 751-3300 > > Winsupply Group Services > 3110 Kettering Boulevard > Dayton, Ohio 45439 USA > (937) 294-5331 > > > On Fri, May 24, 2024 at 11:34 AM Martin Trübner < > [email protected]> wrote: > >> Dave, >> >> >> BK never existed- could this be an inhouse macro? >> >> >> What is the condition that is in the corresponding 47instruction? >> >> >> or- how would you code the nn in this: BC nn,label >> >> >> Martin >> >> On 24.05.24 17:16, David Clark wrote: >> > Some time back I changed my logical construct macro sets to use >> > the relative forms of branching. That has been working fine as I >> > reassemble things. But today I came across one that failed to resolve >> > successfully--but I can't find anything about it in the manuals I >> have. It >> > was a branch on carry (BK) mnemonic and, apparently, JK is not >> recognized >> > as such. I presume this is one of the exceptions to simply replacing B >> > with J? Help?!? ;-) >> > >> > Sincerely, >> > >> > Dave Clark >> > -- >> > int.ext: 91078 >> > direct: (937) 531-6378 >> > home: (937) 751-3300 >> > >> > Winsupply Group Services >> > 3110 Kettering Boulevard >> > Dayton, Ohio 45439 USA >> > (937) 294-5331 >> >
