Look at the TRTE, TRanslate and Test Extended, instruction on pp. 7-231ff of the current PROP.
"Looping" is still required when a condition-code value of 3 is set, but only a branch back to the same, already executed TRTE is required to accomplish it. In particular, there is no requirement for a running count of the number of bytes that remain to be translated. John Gilmore Ashland, MA 01721-1817 USA ---------------------------------------- > Date: Mon, 24 Mar 2008 12:30:51 -0500 > From: [EMAIL PROTECTED] > Subject: Long translate (TR) instruction? > To: [email protected] > > Hi, > > I'm looking for the fastest way in assembler to translate data in one buffer > to another using a 256-byte translate table. > The TR instruction is only up to 256 bytes, and I can't figure out if one of > the newer instructions is a replacement for arbitrary length translations, > or if the best approach is just to loop for 256 byte chunks. The average > length transaction is almost certainly less than 256 bytes. > > Any advise on the fastest instruction path to do this would be appreciated. > > Thanks, > Kirk Wolf > Dovetailed Technologies > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html _________________________________________________________________ Watch “Cause Effect,” a show about real people making a real difference. Learn more. http://im.live.com/Messenger/IM/MTV/?source=text_watchcause ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

