S5U1C17001C ManUal
EPSOn
10-69
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
10 DEBUggEr
set { }
(data input)
[ICD Mini / SIM]
Operation
Writes specified data to a specified address.
Format
set {
Size
}
Address
=
Data
Size
:
One of the following symbols that specify data size
char
In units of bytes
short
In units of 16 bits (default)
int
In units of 16 bits
long
In units of 32 bits
Address
:
Address to which to write data (decimal, hexadecimal, or symbol)
Data
:
The data to write (decimal, hexadecimal, or symbol)
Conditions: 0
≤
Address
≤
0xffffff, 0
≤
Data
≤
0xff (
set {char}
), 0
≤
Data
≤
0xffff (
set {short/int}
),
0
≤
Data
≤
0xffffffff (
set {long}
)
Usage example
n
Example 1
(gdb)
set {char}0x1000=0x55
(gdb) x /b 0x1000
0x1000: 0x55
Byte data 0x55 is written to address 0x1000.
n
Example 2
(gdb)
set {short}0x1000=0x5555
(gdb) x /h 0x1000
0x1000: 0x5555
16-bit data 0x5555 is written to address 0x1000.
n
Example 3
(gdb)
set {long}&i=0x55555555
(gdb) x /w &i
0x0 <i>: 0x55555555
32-bit data 0x55555555 is written to long variable
i
.
GUI
Memory contents can be changed in the [Memory] window. (See 10.4.5, "[Memory] Window".)
Notes
•
Writing in units of 16 bits or 32 bits is performed in little endian format. However, when debugging a
program in simulator mode, you can set a specified area to big endian format in a parameter file.
•
Even when an unused area of memory is specified, no errors are assumed.
•
If the specified address exceeds the 24-bit range, an error is assumed.
•
Data parameters are only effective for the 8 low-order bits for
set {char}
, 16 low-order bits for
set
{short}
and
set {int}
, and 32 low-order bits for
set {long}
, with excessive bits being ignored.
For example, when data 0x100 is specified in
set {char}
, it is processed as 0x00.
•
Even when memory contents are modified by this command, the contents displayed in the [Memory] and
[Source] windows are not updated. Therefore, perform the appropriate operation to update display in each
window. Similarly, even when the program area is rewritten, the source displayed in a window remains
unchanged.
10
Debugger
Содержание S5U1C17001C
Страница 6: ......
Страница 17: ...1 General S5U1C17001C Manual 1 General ...
Страница 18: ......
Страница 21: ...1 2 Install S5U1C17001C Manual 2 Installation ...
Страница 22: ......
Страница 29: ...3 SoftDev S5U1C17001C Manual 3 Software Development Procedures ...
Страница 30: ......
Страница 103: ...4 SrcFiles S5U1C17001C Manual 4 Source files ...
Страница 104: ......
Страница 121: ...5 IDE S5U1C17001C Manual 5 gnU17 iDE ...
Страница 122: ......
Страница 365: ...6 Compiler S5U1C17001C Manual 6 C Compiler ...
Страница 366: ......
Страница 385: ...7 Library S5U1C17001C Manual 7 library ...
Страница 386: ......
Страница 404: ...7 18 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 7 liBrary THIS PAGE IS BLANK ...
Страница 405: ...8 Assemblr S5U1C17001C Manual 8 assembler ...
Страница 406: ......
Страница 438: ...8 32 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 8 aSSEMBlEr THIS PAGE IS BLANK ...
Страница 439: ...9 Linker S5U1C17001C Manual 9 linker ...
Страница 440: ......
Страница 448: ...9 8 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 9 linkEr THIS PAGE IS BLANK ...
Страница 449: ...10 Debugger S5U1C17001C Manual 10 Debugger ...
Страница 450: ......
Страница 625: ...10 174 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 10 DEBUggEr THIS PAGE IS BLANK ...
Страница 626: ...11 Tools S5U1C17001C Manual 11 Other Tools ...
Страница 627: ......
Страница 695: ...11 68 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 11 OTHEr TOOlS THIS PAGE IS BLANK ...
Страница 696: ...S1C17 Family C Compiler Package Quick Reference Reference ...