Name

poke — Poke memory location

Synopsis

poke [[p] | [v]] [[b] | [h] | [w]] [[eor] | [orr] | [bic] | [set]] [rpt {count}] {address} {value}

Options

p

Interpret memory address as physical location.

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).

eor

Exclusive or the value with the current contents of memory.

orr

Or the value with the current contents of memory.

bic

Clear the bits of the memory location which are set in value.

set

Alter the memory to the value.

rpt count

Repeats the read count times.

address

Memory address to read in hexadecimal.

value

Value to set in hexadecimal.

Description

This command alters a memory location to the specified value. 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.

See also

dump, peek, memset.