next up previous index
Next: Q100 Dynamic Data Up: CERNLIB Previous: N105 Print Trace-Back

N203 Memory Dump

Routine ID: N203
Author(s): C. Letertre, J. ZollLibrary: KERNLIB
Submitter: C. LetertreSubmitted: 31.01.1972
Language: FortranRevised: 15.09.1978

TCDUMP may be used for dumping sections of memory in octal (CDC) or hexadecimal (IBM), optionally combined with any or all of the other modes ( INTEGER, REAL, or Hollerith).

The dump shows 5 words per line. The address of the first word of each line is given 3 times. The absolute address in memory (using LOCF), the relative address within the vector in decimal, and in octal (CDC) or hexadecimal (IBM).

Continous strings of identical content or strings of preset indefinites produce a single line.

Structure:

SUBROUTINE subprogram
User Entry Names: TCDUMP
Files Referenced: Printer
External References: UBLOW (M409), IUCOMP (V304), IUSAME (M501), LOCF (N100)

Usage:

    CALL TCDUMP(TEXT,VECTOR,N,MODE)
TEXT
1 word of text printed as heading.
VECTOR
Variable address for start of dump.
N
Number of words for dumping.
MODE
1H dump in octal,
1HI dump in INTEGER and octal,
1HF dump in floating and octal,
1HH dump in Hollerith and octal,
2HIH dump in INTEGER, Hollerith and octal,
etc...

Examples:

    COMMON /TOC /A,B(12),D
    CALL TCDUMP(5H/TOC/,A,14,1HF)
dumps the common block TOC in octal and floating.

Service or Housekeeping Programming Aids

Q100


Janne Saarela
Mon Apr 3 15:06:23 METDST 1995