Guardian Programmer's Guide

Table Of Contents
Introduction to Guardian Programming
Guardian Programmer’s Guide 421922-014
1 - 21
TNS/E Program Execution Modes
TNS/E Program Execution Modes
Like the G-series environment, the H-series and J-series environment support a native
execution mode for TNS/E native processes. TNS/E native compilers and tools are
used to generate native code that uses the process, memory, and instruction set
architectures that are native to Itanium CPUs. The H-series and J-series RVUs
support native versions of C, C++, and COBOL as well as a pTAL compiler. TNS/E
native execution mode can be summarized as follows.
Programs are generated by TNS/E native compilers.
Programs use TNS/E native process and memory architecture.
Programs consist of TNS/E native object code.
Code consists of Itanium instructions. Itanium instructions are executed directly on
Itanium CPUs.
A TNS/E native program can contain only TNS/E native object code. Because of
architectural differences between the execution modes, interpreted object code,
accelerated object code, and native object code cannot be mixed in one program
file.
Similarities and Differences Between H-series RVUs on the
TNS/E Platform and G-Series RVUs on the TNS/R Platform
The H-series RVUs on the TNS/E platform provide a programming environment that is
similar to that provided by the G-series RVUs on the TNS/R platform. These similarities
ease the transition to the new platform and facilitate the migration of applications to the
new environment. Similarities include:
Binary compatibility for TNS programs. Interpreted and accelerated execution
modes are supported.
Full support for TNS development tools. You can continue to develop TNS
applications on an H-series system using familiar tools.
A native development environment that is similar to the TNS/R native
development environment. The C, C++, COBOL, and pTAL languages are
supported.
TNS/E native development tools have the same, or added, functionality as the
TNS/R native development tools.
In most cases, the same changes are required to migrate TNS applications to
TNS/E native mode as to migrate them to TNS/R native mode.
In most cases, no source code changes are required to migrate TNS/R native
mode programs to TNS/E native mode.
Debugging of snapshot files. You can debug TNS, TNS/R, and TNS/E snapshot
files.