On 8/11/23 06:08:44, David Eisenberg wrote:
...
I know that I can always code the comparands in the correct order by loading
them into the high-halves of R0 and R1, then use CLHHR. Or, of course, I can
generate a CLC with a literal. But I figured I’d ask: if I use CLHHSI, then (if
the macro determines that it’s necessary) can I modify the resulting condition
code to appear as though the original comparands were swapped? (I.e.: CC=00
stays the same, CC=01 becomes 10, CC=10 becomes 01.)
Are the Set/Insert Program Mask instructions useful for this?
--
gil