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

how to initialize a register to 0000?

742


How to pass the parameters from jcl to assembler program?

649


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

687


What does the following code do? Ap wkur,=p5 where wkur is a label?

705


How are data passed from jcl parm to assembler program?

658






What is icm instruction?

711


Explain how to pass instream data in sysin with assembler?

719


How many maximum base registers we can have in a single program?

714


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

660


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

679


explain icm instruction?

734


What is maximum displacement and how to cross this limit?

777


Explain how to initialize a register to 0000?

684


Explain how to access vsam file?

703


What is the use of trt instruction?

656