Where did you get the TBIT macro?  I'm not familiar with it.  Can you share the 
macro source, or tell us where it came from?

Peter

-----Original Message-----
From: IBM Mainframe Assembler List <[email protected]> On Behalf 
Of João Reginato
Sent: Thursday, May 20, 2021 11:15 AM
To: [email protected]
Subject: Macro to set a bit string
Importance: Low

Hi everyone

Does somebody have a macro to set a bit string on/off?

I made one but I think it could be better due to performance reasons.

Note: the bit index should be passed thru a register, not a value.

I mean something like below using the TBIT macro to set on the bit 12  of
ARRAY:

LA           R1,12

TBIT       ON,ARRAY,(R1)

TIA for any tip

João

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

Reply via email to