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"?

597


What does "using" do?

594


how to initialize a register to 0000?

667


Explain the difference between various read and find statement?

625


how to retrieve the instream data in sysin?

681






Explain how to pass instream data in sysin with assembler?

648


explain about maximum displacement and how to cross this limit?

701


what is need of start 0? In steed of

678


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

634


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

621


Why do we use "drop"?

567


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

639


Explain about base register?

608


What is the use of trt instruction?

584


What is need of start 0?

659