Name

peek — Examine memory location

Synopsis

peek [[p] | [v]] [[b] | [h] | [w]] [rpt {count}] [--help] [--version] {address}

Options

p

Interpret address as physical.

v

Interpret address as virtual (the default if not specified).

b

Byte (8bit) wide read.

h

Half word (16bit) wide read.

w

Word (32bit) wide read (default if not specified).

rpt count

Repeats the read count times.

address

Memory address to read in hexadecimal.

Description

This command retrieves a memory location and prints it in hexadecimal. The address specified is dependant on the machine architecture and is the translated by the MMU.

The p option causes the physical address specified to be translated into a virtual address suitable for use within ABLE, the virtual translated address is shown during display.

See also

poke, dump, memset.