Oppolzer - Informatik / Blog


Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie

ASSEMBLER-L - Fehlender CC=2 als Ergebnis von TRTE

Subject:

Re: missing functionality in TRTE

From:

Bernd Oppolzer <bernd.oppolzer@T-ONLINE.DE>

Reply-To:

IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>

Date:

2013.10.20 22:31:38


M.,

I believe that the RC = 2 was found to be not necessary in the case of TRTE,
because this case (nonzero function byte in the last byte of the string to be
tested) can be examined easily by looking at the remaining length in R1 + 1
after RC = 1 (when TRTE finds a nonzero function byte).

Anyway, the PoOp says:

Resulting Condition Code:
0 Entire first operand processed without selecting
a nonzero function code
1 Nonzero function code selected
2 --
3 CPU-determined number of bytes processed

so there is no RC = 2 after TRTE.

Kind regards

Bernd



Am 20.10.2013 16:07, schrieb M.T.:
> Does anyone have insights (or ideas) why CC 2 (xH) was omitted from
> TRTE.
>
> It is there in TRT and it does come handy when determine if there is a
> remainder to process after the special-char was found.
>
> --
> M.
>

Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie