20
2.4.14 MD - Memory Display
MD
Usage:
MD<width> <begin> <end>
The MD command displays a contiguous block of memory starting at address begin and stopping at
address end. The value for addresses begin and end may be an absolute address specified as a
hexadecimal value, or a symbol name. Width modifies the size of the data that is displayed.
Memory display starts at the address begin. If no beginning address is provided, the MD command uses
the last address that was displayed. If no ending address is provided, then MD will display memory up to
an address that is 128 beyond the starting address.
This command first aligns the starting address for the data access size, and then increments the address
accordingly during the operation. Thus, for the duration of the operation, this command performs properly
aligned memory accesses.
Examples:
To display memory at address 0x00400000, the command is:
md 400000
To display memory in the data section (defined by the symbols data_start and data_end), the command is:
md data_start
To display a range of bytes from 0x00040000 to 0x00050000, the command is:
md.b
40000 50000
To display a range of 32-bit values starting at 0x00040000 and ending at 0x00050000, the command is:
md.l
40000 50000
This command may be repeated by simply pressing the carriage-return (Enter) key.
It will continue
with the address after the last display address.