N203: Memory Dump

Author(s): C. Letertre, J. Zoll Library: KERNLIB
Submitter: C. Letertre Submitted: 31.01.1972
Language: Fortran Revised: 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, IUCOMP, IUSAME, LOCF

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.
tex2html_wrap_inline71

Michel Goossens Wed Jun 5 07:54:08 METDST 1996