Epson S5U1C17001C Manual page 526

Cmos 16-bit single chip microcomputer, c compiler package for s1c17 family
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

10 DEBUggEr
set $
(modify register)
Operation
Changes the values of the CPU registers.
Format
set $ RegisterName = Value
RegisterName: Name of register to change (specified in lowercase letters)
r0–r7
Value:
24-bit data to set in the register (decimal, hexadecimal, or symbol)
0 ≤ Value ≤ 0xffffff
Conditions:
Usage example
(gdb) set $r1=0x10000
(gdb) info reg r1
r1
0x10000
(gdb) set $pc=main
In addition to numerals, symbols can also be used to set values.
GUI
Register contents can also be modified in the [Registers] window. (See 10.4.4, "[Registers] Window".)
Notes
• If the specified value exceeds the 24-bit range, the 24 low-order bits only will be effective.
• The contents of the set values are not checked internally. No errors are assumed even when values other than
16-bit or 32-bit boundary addresses are specified for PC or SP, respectively. However, when the registers are
actually modified, values are forcibly adjusted to boundary addresses by truncating the lower bits.
• The contents displayed in the [Registers] window are not updated by executing this command.
10-76
,
,
,
sp
pc
psr
65536
EPSOn
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
[ICD Mini / SIM]
S5U1C17001C ManUal

Advertisement

Table of Contents
loading

Table of Contents