You don't need the CLC; the NC sets the condition code.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Ituriel do Neto [[email protected]] Sent: Monday, December 13, 2021 6:51 AM To: [email protected] Subject: Re: Replacement for TM instruction Gentlemen, Thank you very much for your ideas and time.I was considering to copy variable A to another place and, since i only need to check one bit, do a NC and then a CLC, but i think your suggestion of EX is more elegant. A DC X'1C' B DC X'08' C DC X MVC C,A NC C,B CLC C,B JE MATCH Best Regards Ituriel do Nascimento Neto z/OS System Programmer PS. I don't know why the editor joins different lines of my message... Em domingo, 12 de dezembro de 2021 13:06:20 BRT, Seymour J Metz <[email protected]> escreveu: No, I meant execute, as in *either* EX or EXRL, a TM. I was, of course, assuming that TMY was not necessary and that TMHH, TMHL, TMLH and TMLL were useless for the purpose. "I meant what I sad and I said what I meant, A sysprog is faithful, 100%" Horton Hears an IPL by Dr. Seus -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Robin Vowels [[email protected]] Sent: Friday, December 10, 2021 3:30 PM To: [email protected] Subject: Re: Replacement for TM instruction ----- Original Message ----- From: "Seymour J Metz" <[email protected]> Newsgroups: bit.listserv.ibm-main Sent: Saturday, December 11, 2021 12:56 AM For a test of a single bit you can do a logical and on a copy of the byte or use NRK. For testing multiple bits you can execute a TM. You mean, EXexute a TM. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
