Epson S5U1C17001C Manual page 170

Cmos 16-bit single chip microcontroller (c compiler package for s1c17 family) (ver. 3.1)
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

8 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, sp, pc, psr
24-bit data to set in the register (decimal, hexadecimal, or symbol)
Value:
Conditions:
0 ≤ Value ≤ 0xffffff
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.
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.
8-20
65536
Seiko Epson Corporation
[ICD Mini / SIM]
S5U1C17001C Manual
(Rev. 1.0)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S5U1C17001C and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents