Interesting. Thank you Philippe! I can see how the loop might be faster despite 
the storage reference. 

-----Original Message-----
From: IBM Mainframe Assembler List [mailto:[email protected]] On 
Behalf Of Philippe Leite
Sent: Thursday, May 20, 2021 4:43 PM
To: [email protected]
Subject: Re: RES: Macro to set a bit string

Caution! This message was sent from outside your organization.

Hi João,

I'm glad you liked the macro.
In my implementation I use shift in a loop before execute.
This is much faster than memory access through IC instruction.
Even in the worst case when it shifts seven times it's faster than IC. That's 
why I didn't use it. You can test in a loop to be certain.


Best regards,

Philippe Leite
z/OS System Programmer

Reply via email to