DUMP(1prom) RISC/os Reference Manual DUMP(1prom)
NAME
dump - display contents of memory
SYNOPSIS
dump [ -Bcdoux ] [ -bhw ] range
DESCRIPTION
dump formats and displays the contents of memory. You can
display the contents of memory in hexadecimal, octal,
decimal, unsigned decimal, ASCII, or binary format. The con-
tents of memory can be dumped in byte, half word or word
size units.
The default format is hexadecimal ( -x ). You can select an
alternative format by entering one of the following:
-B Binary format
-c ASCII character format
-d Decimal format
-o Octal format
-u Unsigned decimal
-x Hex format
The default width is word (32 bits). You can select an
alternate width by entering one of the following:
-b Byte (8 bits)
-h Half word (16 bits)
-w Word (32 bits)
The range specification indicates the amount of memory that
you want displayed. You can specify the range in one of the
following ways:
base Display the contents of the memory address at
base
base#count Display the contents of memory starting at
base and ending at base + count
base:limit Display the contents of the memory addresses
starting at base and ending at limit
EXAMPLE
The following example shows a base#count range specified in
Printed 11/19/92 Page 1
DUMP(1prom) RISC/os Reference Manual DUMP(1prom)
half words. The default for the hexadecimal format is used
because the sample did not specify an argument. The speci-
fied range appears on the screen horizontally:
>>dump -h 0xbfc04000#5
0xbfc04000: 8dce 514 6 6900 193
SEE ALSO
g(1prom), p(1prom), fill(1prom)
Page 2 Printed 11/19/92