Everything

debugger.Memory.Read


This function refers to the memory.

[Specification format]

debugger.Memory.Read(address, memoryOption = MemoryOption.Byte)

[Argument(s)]

Argument

Description

address

Specify the address to 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]

Referenced memory value (numeric value)

[Detailed description]

-

This function displays the address specified by address, according to memoryOption in hexadecimal format.

-

When multiple values are to be read from consecutive addresses, using debugger.Memory.ReadRange reduces the overhead of processing for reading.

[Example of use]

>>>debugger.Memory.Read(0x100)
0x10
>>>value = debugger.Memory.Read(0x100)
0x10
>>>print value
16
>>>debugger.Memory.Read(0x100, MemoryOption.HalfWord)
0x0010
>>>