User guide
deposit
deposit — write memory data
Writes data to a memory location, a register, a device, or a file.
After initialization, if you have not specified a data address or size, the default
address space is physical memory, the default data size is a quadword, and the
default address is zero.
You specify an address or device by concatenating the device name with the
address, for example,
pmem:0
, and by specifying the size of the space to which to
write.
If you do not specify an address, the data is written to the current address in the
current data size (the last previously specified address and data size).
If you specify a conflicting device, address, or data size, the console ignores the
command and issues an error response.
Syntax
d[eposit]
-b
-w
-l
-q
-o
-h
-physical
-virtual
-gpr
-fpr
-ipr
[-n
count
] [-s
step
][
device
:]
address data
Arguments
[
device
:]
Specifies the device name or address space to access. The following devices are
supported:
pmem: Physical memory.
vmem: Virtual memory. All access and protection checking occur. If the
access would not be allowed to a program running with the current
PS, the console issues an error message. If memory mapping is not
enabled, virtual addresses are equal to physical addresses.
gpr: General purpose register. The data size defaults to quadword. The
following symbols for address are recognized: r0, r1, . . . r31, ai, ra,
pv, fp, sp, and rz.
Console Commands 13–23