HP Integrity NonStop H-Series User Manual
Page 28
![background image](/manuals/397117/28/background.png)
Viewing TNS or TNS/E Region Information
TNSVU User’s Guide— 528143-003
4 -7
Examples of Viewing TNS/E and TNS Instruction
Sequences
end on an exact point. If you do not specify a for-clause value, TNSVU displays
to the end of the procedure or local millicode routine.
octal-num
is a 16-bit word offset within the given TNS code segment for the first TNS
instruction in the sequence you want to view. octal-num is prefixed by a 0.
CSEG
is a required keyword required for multi-segment programs. It defaults to the
first segment. CSEG is optional for single-segment programs.
decimal-num
is the decimal code segment number where the code you want to view resides.
decimal-num does not accept leading zeros.
procname
is the name of a procedure. Type the procedure name exactly as it appears in the
object file’s tables. Include all uppercase and lowercase letters as they appear in
the procedure name. You can determine the exact procedure name using the
PROCS command. When you enter a procedure name as ICODE’s first argument,
TNSVU displays instructions from the procedure or millicode routine of that name.
plus-clause
is a hexadecimal or octal number that acts as an offset from the beginning of
the procedure. The offset acts as a starting point for TNSVU to begin
displaying instruction sequences. If you enter a hexadecimal number, TNSVU
interprets this number as a byte offset within the TNS/E code for the procedure
name and adjusts the byte offset to begin a bundle. If you specify an octal
number, TNSVU interprets this number as a 16-bit word offset within the TNS
code for the procedure name specified. To prevent an error do not:
°
Enter a value larger than the size of the procedure or local millicode routine
°
Provide an octal-number value after a local millicode name
Examples of Viewing TNS/E and TNS Instruction Sequences
•
The following command requests that TNSVU display the entire procedure named
mine (with TNS/E instructions alongside TNS instructions).
myfile> ICODE mine
•
The following command requests that TNSVU display the TNS code beginning 072
instructions past the start of procedure mine and stop at the end of the procedure.