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 house keeping in assembler?
How is data passed from a calling program to an assembler called program?
How do you round the addition or subtraction of two numbers in assembler?
What will happen if we drop the base register in the program which contains only one basereg?
explain about maximum displacement and how to cross this limit?
Explain how to pass instream data in sysin with assembler?
explain icm instruction?
how to retrieve the instream data in sysin?
Explain how to produce soc7 abend?
How many maximum base registers we can have in a single program?
What is need of start 0?
What is maximum displacement?
What is maximum displacement and how to cross this limit?
Explain about base register?
Explain how to initialize a register to 0000?