Inspect Manual
Using Inspect on a TNS/E System
Inspect Manual—429164-006
18-2
Acceleration on TNS/E Systems
Acceleration on TNS/E Systems
TNS program files that have been accelerated with the TNS Object Code Accelerator 
(OCA) run in TNS accelerated mode on TNS/E systems. If a TNS program file has not 
been accelerated, it will run in TNS interpreted mode. These two execution modes are 
further described in the following paragraphs.
TNS Accelerated Mode
 The TNS Object Code Accelerator (OCA) translates TNS instructions to equivalent 
Itanium instructions. OCA augments a type-100 TNS object file with a new region 
containing the Itanium instructions (the Itanium region, shown in Figure 18-1, 
Acceleration of TNS Object Code on TNS/E Systems, on page 18-3). 
TNS object files that have been optimized by OCA are called accelerated object files, 
or accelerated program files if they include a main procedure. Programs that have 
been accelerated run in TNS accelerated mode, which is significantly faster than TNS 
interpreted mode. You must apply OCA once to the object file before run time, or the 
TNS program runs in TNS interpreted mode, which is considerably slower. 
TNS Interpreted Mode
In TNS interpreted mode, individual TNS 16-bit stack machine instructions are 
repeatedly decoded at run time and simulated one at a time, using only the in-memory 
image of TNS code segments (ignoring any optional file augmentation). 
TNS interpreted mode interoperates with TNS accelerated mode, in which entire 
programs or libraries have been previously translated into equivalent but optimized 
sequences of TNS/E machine instructions. 
Programs switch automatically between execution modes when branching from 
untranslated object files to OCA-augmented object files, and vice versa. For example, 
a program file might run in accelerated mode but a user library might be interpreted.
Interpreted TNS mode is used when executing TNS object files that could not be 
accelerated. It might also be used for brief periods with accelerated programs, when 
the TNS code sequence could not be translated. 










