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 the difference in data type "x" and "p"?

679


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

705


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

714


what is need of start 0? In steed of

744


What is icm instruction?

711






How are data passed from jcl parm to assembler program?

658


Explain about maximum displacement?

687


What is house keeping in assembler?

676


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

706


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?

764


how to initialize a register to 0000?

742


Explain how to pass instream data in sysin with assembler?

719


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

707


Explain about house keeping in assembler?

714


how to retrieve the instream data in sysin?

767