Debug Manual

Table Of Contents
Debug Commands
Debug Manual421921-003
4-44
DN Command
All displays contain the full display address along the left-hand side of the display.
For example, the output from the command “DN $SP, 10” is formatted as follows:
4FFFFA78: 0x08000680 0x70011D94 0x00000004 0xFFFFFFF7
4FFFFA88: 0x00000000 0x00000000 0x4FFFFB30 0x7C260D48
4FFFFA98: 0x00000000 0x00000000 0x08000680 0x50000000
4FFFFAA8: 0x00000004 0x00000000 0x4FFFFB40 0x00000000
It is your responsibility to ensure the compatibility of the count format with the
display format. If count-size exceeds display-size, Debug truncates the
memory displayed to the display size. If display-size exceeds count-size,
Debug displays memory up to count-size.
Display addresses do not need to be aligned on 16-bit or 32-bit boundaries. A
display command displays the address given in the stated format correctly
independent of the byte alignment of the address.
Examples
This command displays eight hexadecimal values. The display-size is the default
size, which is 4 bytes.
248,06,024-DN 0x70000, #8
70000000: 0x004C004C 0x137219A9 0x2CEF3457 0x349C94B0
70000010: 0x39F73AB3 0x3B683E90 0x3F8E3FCB 0x40814140
This command displays eight hexadecimal two-byte values:
248,06,024-DN 0x70000, #8 B2
70000000: 0x004C004C 0x137219A9 0x2CEF3457 0x349C94B0
This command displays eight hexadecimal two-byte values, two bytes at a time:
248,06,024-DN 0x70000, #8 B2 IN H 2
70000000: 0x004C 0x004C 0x1372 0x19A9
70000008: 0x2CEF 0x3457 0x349C 0x94B0
This command is equivalent to the preceding command but uses different options:
48,06,024-DN 0x70000, #8 B2:H 2
70000000: 0x004C 0x004C 0x1372 0x19A9
70000008: 0x2CEF 0x3457 0x349C 0x94B0
This command displays eight two-byte octal values, with four values to a column:
48,06,024-DN 0x70000, #8 B2 BY 4:O 2
70000000: 0x000114 0x000114 0x011562 0x014651
70000008 0x026357 0x032127 0x032234 0x112260
This command displays eight hexadecimal values, with three values to a row:
248,06,024-DN 0x70000, #8 BY 3
70000000: 0x004C004C 0x137219A9 0x2CEF3457