IBM Assembler Question:
Download Job Interview Questions and Answers PDF
What is the use of TRT instruction and how it is working?
Answer:
for example we want to test if given variable is numeric we can do it by following code.
We can define a table with all FF execpt from 0 t0 9 00
Table1 DC 256c'ff'
org table1
dc 10c'00'
Now we can give
TRT var1,table1
BZ numeric
We can define a table with all FF execpt from 0 t0 9 00
Table1 DC 256c'ff'
org table1
dc 10c'00'
Now we can give
TRT var1,table1
BZ numeric
Download IBM Assembler Interview Questions And Answers
PDF