S - snap memory

Usage:

<S> <address>[, <#-of-words>]
    or
<S> <address1>:<address2>
    where <S> is of the form S[A][B|C|D|F|I]

Examples:

sa1/sa2/sa3      (snap absolutely locations 1,3,5)
si 472,10        (snap interpretively 472 to 472+10)
sb .strng:newsym (snap byte from .strng to newsym)

Description:

These commands may be used to snap, or display, a contiguous area of memory, starting at a specified address. The first line of a snapshot will have the letter 'r' or 'a' appended to the address to indicate whether the address is relative to the offset or absolute, respectively.

The snapshot is displayed in the format

addr data data data data

if no modifier ('b', 'c', 'd', 'f', or 'i') is added to the command. The presence of one of the above suffixes will cause each of the data words to be interpreted, with the interpreted forms displayed below the octal data.

The suffixes have the following meanings:

A  - Snap absolute.
      The numeric addresses given are not relative to the offset.
B  - Snap byte.
      The data is interpreted as ASCII characters.
C  - Snap characters.
      The data is interpreted as BCD characters.
D  - Double precision.
      The data words are interpreted, in pairs, as double precision
      floating point numbers.
F  - Floating point.
      The data is interpreted as floating point numbers.
I  - Instruction.
      The data is interpreted as machine instructions, giving the
      opcode, if valid, the modification, and if the instruction
      is a derail, the function name (e.g. kout, objtim).

Snapshot lines which duplicate the last line printed will not be shown. An asterisk (*) will be appended to the address of the next line shown, if any, to indicate the omission.

Copyright © 1996, Thinkage Ltd.