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
Explain the difference in data type "x" and "p"?
What does "using" do?
how to initialize a register to 0000?
Explain the difference between various read and find statement?
how to retrieve the instream data in sysin?
Explain how to pass instream data in sysin with assembler?
explain about maximum displacement and how to cross this limit?
what is need of start 0? In steed of
How is data passed from a calling program to an assembler called program?
How many maximum base registers we can have in a program?
Why do we use "drop"?
How many maximum base registers we can have in a single program?
Explain about base register?
What is the use of trt instruction?
What is need of start 0?