Dump command

Purpose: Displays the contents of a portion of memory.

Format: D [address] or D [range]

Remarks: The dump is displayed in two parts:

1. A hexadecimal portion. Each byte is displayed in hexa-
decimal.

2. An ASCII portion. The bytes are displayed as ASCII char-
acters. Unprintable characters are indicated by a period
(.).

With a 40-column system display format, each line begins on
an 8-byte boundary and shows 8 bytes. With an 80-column sys-
tem display format, each line begins on a 16-byte boundary
and shows 16 bytes. There is a hyphen between the 8th and
9th bytes.

Note:
The first line may have fewer than 8 or 16 bytes if the
starting address of the dump is not on a boundary. In
this case, the second line of the dump begins on a boun-
dary.


The Dump command has two format options:

Option 1

Use this option to display the contents of 40h bytes (40-
column mode) or 80h bytes (80-column mode). For example:

D address
or
D

The contents are dumped starting with the specified ad-
dress.

If you do not specify an address, the D command assumes the
starting address is the location following the last location
displayed by a previous D command. Thus, it is possible to
dump consecutive 40-byte or 80-byte areas by entering consec-
utive D commands without parameters.

If no previous D command was entered, the location is offset
100h into the segment originally initialized in the segment
registers by DEBUG.

Note:
If you enter only an offset for the starting address,
the D command assumes the segment contained in the DS
register.

Option 2

Use this option to display the contents of the specified ad-
dress range. For example:

D range

Note:
If you enter only an offset for the starting address,
the D command assumes the segment contained in the DS
register. If you specify an ending address, enter it
with only an offset value.

For example:
D cs:100 10C

A 40-column display format might look like this:
04BA:0100 42 45 52 54 41 20 54 00
BERTA T.
04BA:0108 20 42 4F 52 47
BORG