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

Answer Posted / deepalakshmi

IT IS USED TO SCAN STIRING OF CHARACTERS IN THE TABLE, iF
THE FIRST NON ZERO CHARACTER IS ENCOUNTERED IN THE TABLE,
THEN THE SCANING IS STOPPED,THEN THE ADDRESS IS PLACED IN
R1AND THE VALUE IN R2.

THEN THE CONDITION CODE IS SET

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

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how to produce soc7 abend?

632


Explain how to access vsam file?

607


What is need of start 0? In steed of can we use anyother numerics? If we use what will happen?

636


how to initialize a register to 0000?

663


explain about maximum displacement and how to cross this limit?

695






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

631


What is need of start 0?

651


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

579


Explain how to initialize a register to 0000?

585


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

612


how to pass the parameters from jcl to assembler pgm?

653


how to retrieve the instream data in sysin?

675


what is need of start 0? In steed of

669


how do you round the addition or subtraction of two numbers in assembler? what does the following code do? change process tool(code changes from dev to prd) the changes made to your code should be effected in live. How the process takes place. That is how can you move the code changes from development to production?

681


What is the use of trt instruction?

578