Everything

debugger.Register.SetValue


This function sets the value of a register, IO register, and SFR.

[Specification format]

debugger.Register.SetValue(regName, value)

[Argument(s)]

Argument

Description

regName

Specify the register name to set.

value

Specify the value to set.

[Return value]

If the value was set successfully: True

If there was an error when setting the value: False

[Detailed description]

-

This function sets the value specified by value in the register specified by regName.

[Example of use]

>>>debugger.Register.GetValue("pc")
0x100
>>>debugger.Register.GetValue("A:RB1")
0x20
>>>debugger.Register.SetValue("pc", 0x200)
True
>>>debugger.Register.GetValue("pc")
0x200
>>>