>I think it would much more straightforward to adjust the condition<

Steve,

I understand what you mean. My issue is that the macro is intended to replace 
pre-existing CLC instructions within legacy applications (the macro will 
examine and potentially modify the comparands prior to the compare). My hope is 
to code the macro in such a way that the original two CLC operands can be 
passed as positional parameters to the macro without swapping their order, and 
without the need for the developer to change any of the conditions in the 
subsequent jump instructions. I.e., my desire is to make the macro as 
functionally transparent as possible to the invoking applications.

If it’s too nonsensical for me to modify the CC after a CLHHSI, then I’ll 
probably take the approach of putting the operands in the high-halves of R0 and 
R1 and doing a CLHHR.

Thanks,

David

Reply via email to