What is the use of TRT instruction and how it is working?

Answer Posted / karta

TRT is translate and Test. The right operand requires a 256 Byte table.
It is used for scanning the string of characters to check if it has numeric or character or some special symbols.
This instruction affects the content of R1 and R2. before using it, save R1 and R2 content.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use "drop"?

565


Explain the difference in data type "x" and "p"?

594


Explain the difference between various read and find statement and which one should be used when for better adabas performance?

581


What will happen if we drop the base register in the program which contains only one basereg?

577


what is need of start 0? In steed of

675






What does "using" do?

592


Explain how to pass instream data in sysin with assembler?

646


Explain the difference between various read and find statement?

622


How to pass the parameters from jcl to assembler program?

573


How is data passed from a calling program to an assembler called program?

630


How do you round the addition or subtraction of two numbers in assembler?

602


explain icm instruction?

658


Explain how to initialize a register to 0000?

587


Explain how to access vsam file?

611


how to initialize a register to 0000?

665