What is the use of TRT instruction and how it is working?
Answer Posted / senthil kumar m
TRT is used to scan a string of characters, searching
for the occurrence of any the characters which are
specified in a translate table.
TRT also sets the condition code to indicate the results
of the scanning operation as follows:
Condition Code Indications
0 ( Zero ) All function bytes
encountered were X’00’.
1 ( Minus ) A nonzero function byte
was found before the end of operand 1
2 ( Positive ) A nonzero function byte
was found at the end of the operand 1
The condition code can be tested using BZ, BNZ, BM, BNM,
BP, or BNP.
| Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
What is maximum displacement and how to cross this limit?
Explain how to pass instream data in sysin with assembler?
Why do we use "drop"?
What is maximum displacement?
Explain about house keeping in assembler?
How are data passed from jcl parm to assembler program?
Explain how to produce soc7 abend?
Explain how to access vsam file?
What will happen if we drop the base register in the program which contains only one basereg?
Explain the difference between various read and find statement?
Explain how to initialize a register to 0000?
explain icm instruction?
What does the following code do? Ap wkur,=p5 where wkur is a label?
What is need of start 0?
How do you round the addition or subtraction of two numbers in assembler?