Given a recent enough machine (z9 or later), you could use TROO instead.

- mb

IBM Mainframe Assembler List <[email protected]> wrote on
11/17/2013 08:23:59 AM:

> From: Martin Truebner <[email protected]>
> To: [email protected],
> Date: 11/17/2013 08:21 AM
> Subject: TRE has no modifier bit
> Sent by: IBM Mainframe Assembler List <[email protected]>
>
> Oups- I was about to replace a TR routine (loop for 256 and an extra
> for the remainder)
>
> Fortunately I did read POPs first- TRE does not have a mask bit to avoid
> stopping on a match with R0
>
> AND-
>
> the results for overlapping operands are unpredictable
>
> I can work around the overlap - but for the "match with r0" case I have
> to have extra code.
>
> why is that so?
>
> --
> Martin
>
> Pi_cap_CPU - all you ever need around MWLC/SCRT/CMT in z/VSE
> more at http://www.picapcpu.de
>

Reply via email to