start [[end]]
A range is a pair of addresses that defines the boundary of a sequence of contiguous memory locations. You can specify a range by giving the starting address and the ending address. In this case, the range covers start to end, inclusively. If a command takes a range but you do not supply a second address, CodeView displays enough data to fill the current size of the window.
start L length
You can also specify a range by giving its starting point and the number of objects you want included in the range. This type of range is called a “length range.” In a length range, start is the address of the first object, L indicates that this is a length range, and length specifies the number of objects in the range.
The size of the object is the size taken by the command. For example, the Memory Dump Bytes (MDB) command dumps bytes, the Memory Dump Words (MDW) command dumps words, the Unassemble (U) command unassembles instructions (which can vary in size), and so on.
Examples
The following example dumps a range of memory starting at the buffer symbol. Since the end of the range is not given, the default size is assumed (128 bytes for the Memory Dump Bytes (MDB) command in this example).
>MDB buffer
The following example dumps a range of memory starting at buffer and ending at buffer+20 (the point 20 bytes beyond buffer).
>MDB buffer buffer+20
The following example uses a length range to dump the same range of memory as in the previous example.
>MDB buffer L 20
The following example uses the Memory Fill (MF) command to fill memory with dollar sign ($) characters starting 30 bytes before right_half and continuing to right_half.
>MF right_half-30 right_half '$'