debugger.Ie.GetValue
debugger.Ie.SetValue
|
This function sets or refers to the IE register or DCU register.
[Specification format]
debugger.Ie.GetValue(ieType, address)
debugger.Ie.SetValue(ieType, address, value)
|
[Argument(s)]
|
|
ieType
|
Specify a register.
The registers that can be specified are shown below.
|
|
|
IeType.Reg
|
IE register [[IECUBE] 78K0] [[IECUBE] RL78] [[IECUBE] 78K0R] [[IECUBE] V850] [[IECUBE2] V850] [[Full-spec emulator] RH850]
|
IeType.Dcu
|
DCU register [[IECUBE] V850] [[IECUBE2] V850] [[Full-spec emulator/E1/E20] RH850]
|
address
|
Specify the address to reference/set.
|
value
|
Specify the setting value.
|
[Return value]
debugger.Ie.GetValue is the register value (numeric value)
debugger.Ie.SetValue is True if the setting was completed successfully, or False if there was an error when setting the register.
[Detailed description]
- | debugger.Ie.GetValue displays the value of the register specified by address.
The register type is specified by ieType. |
- | debugger.Ie.SetValue writes value to the register specified by address.
The register type is specified by ieType. |
Remark | When the DCU register is referenced, the register value is reset to 0. |
[Example of use]
>>>debugger.Ie.GetValue(IeType.Reg, 0x100)
0x12
>>>debugger.Ie.SetValue(IeType.Reg, 0x100, 0x10)
True
>>>debugger.Ie.GetValue(IeType.Reg, 0x100)
0x10
>>>
|