start end
start L count
An address range is a pair of memory addresses that specify the higher and lower boundaries of contiguous memory. You can specify a range in two ways:
Give the starting and ending addresses:
start end
The range covers start to end, inclusively. If you don't supply an ending address, CodeView assumes the default range. Each command has its own default range; the most common default range is 128 bytes.
Give the starting address and the number of objects you want included in the range:
start L count
This type of range is called an “object range.” The starting address is the address of the first object in the list, and count specifies the number of objects in the range. The way the size of an object is measured depends on the command. For example, the Memory Dump Bytes (MDB) command has byte objects, the Memory Dump Words (MDW) command has words, the Unassemble (U) command has instructions, and so on.
This example dumps a range of memory starting at the symbol buffer. Since the end of the range is not given, the default size (128 bytes for the Memory Dump Bytes command) is assumed.
MDB buffer
The following example dumps 21 bytes starting at buffer and ending at
buffer+20 (the point 20 bytes beyond buffer).
MDB buffer buffer+20
The following example uses an object range to dump a range of memory. The L indicates that the range is an object range, and 20 indicates the number of objects in the range.
MDB buffer L 20
Here, each object has a size of 1 byte since that is the size of objects dumped by the Memory Dump Bytes (MDB) command.