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

Reply via email to