Everything

debugger.Memory.Fill


This function fills the memory.

[Specification format]

debugger.Memory.Fill(address1, address2, value, memoryOption = MemoryOption.Byte)

[Argument(s)]

Argument

Description

address1

Specify the start address to fill.

address2

Specify the end address to fill to.

value

Specify the fill value.

memoryOption

Specify the fill 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]

If the memory was filled successfully: True

If there was an error when filling the memory: False

[Detailed description]

-

This function fills from address1 to address2 with value.

-

If memoryOption is specified, fill according to that specification.

[Example of use]

>>>debugger.Memory.Fill(0x1000, 0x2000, 0xFF)
True
>>>debugger.Memory.Fill(0x2000, 0x3000, 0x0A, MemoryOption.Word)
False
>>>