Everything

debugger.Memory.ReadRange


This function refers to the specified number of locations in memory.

[Specification format]

debugger.Memory.ReadRange(address, count, memoryOption = MemoryOption.Byte)

[Argument(s)]

Argument

Description

address

Specify the start address to reference.

count

Specify the number of locations in memory for reference.

memoryOption

Specify the display unit.

The units that can be specified are shown below.

Type

Description

MemoryOption.Byte

Byte unit (8 bits) (default)

MemoryOption.HalfWord

Half-word unit (16 bits) [RH850,RX,V850]

MemoryOption.Word

Word unit (RL78,78K: 16 bits, RH850,RX,V850: 32 bits)

[Return value]

List of referenced memory value (numeric value)

[Detailed description]

-

This function displays, in hexadecimal notation, the number of values specified by count with the width in memory specified by memoryOption in the range from the address specified by address.

-

In case of failure to acquire a value from memory, "?" is displayed (0x??, 0x????, and 0x???????? in the 8-, 16-, and 32-bit cases, respectively).

[Example of use]

>>>debugger.Memory.ReadRange(0x100, 3, MemoryOption.Word)
0x00000011 0x0000ff30 0x0000ff40
>>>mem = debugger.Memory.ReadRange(0x1ffffd, 5, MemoryOption.Byte)
0x23 0x43 0x32 0x?? 0x??
>>>print mem[0]
35