G(1prom) RISC/os Reference Manual G(1prom)
NAME
g - get and display contents of memory location
SYNOPSIS
g [ -bhw ] address
DESCRIPTION
The g command is a PROM Monitor and sash(1M) command, which
displays the contents of a single memory location in
decimal, hex, and ASCII character formats.
The g command is also a Debug Monitor (dbgmon(1spp)) com-
mand. If you use the g command with dbgmon(1spp), address
can also be a register name that displays the contents of
the named client register. Client registers can be one of
three types:
⊕ general purpose registers that you can specify as
either r0 through r31, or by their compiler-usage names
⊕ special purpose registers
⊕ system coprocessor registers of a client.
See dbgmon(1spp) for more details.
The default memory access width is word. You can select an
alternative width by entering one of the following:
-b Byte (8 bits)
-h Half word (16 bits)
-w Word (32 bits)
SEE ALSO
p(1prom), dump(1prom), fill(1prom)
Printed 11/19/92 Page 1