Dave, it would help to see the expansion of the code (namely the INDEX-macro) .....
but even without it- it is obvious that the instruction being modified is a SS-logical (whichever). and the fix is easy - modify the macro to include an operand or an indicator that a variable ...whatever... is required and use an EX or an EXRL against a literal (yes, I now - and I also use FLAG(NOEXLITW)) . and of course remove the two "setup instructions". With a new length indicating operand on the macro you can one after the other modify programs using the macro in the performance impacting way. Martin
