10-70
EPSOn
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
10 DEBUggEr
c17 mvb
(copy area, in bytes)
c17 mvh
(copy area, in 16 bits)
c17 mvw
(copy area, in 32 bits)
[ICD Mini / SIM]
Operation
c17 mvb
Copies the content of a specified memory area to another area in units of bytes.
c17 mvh
Copies the content of a specified memory area to another area in units of 16 bits.
c17 mvw
Copies the content of a specified memory area to another area in units of 31 bits.
Format
c17 mvb
SourceStart
SourceEnd
Destination
c17 mvh
SourceStart
SourceEnd
Destination
c17 mvw
SourceStart
SourceEnd
Destination
SourceStart
: Start address of area from which to copy (decimal, hexadecimal, or symbol)
SourceEnd
: End address of area from which to copy (decimal, hexadecimal, or symbol)
Destination
: Start address of area to which to copy (decimal, hexadecimal, or symbol)
Conditions: 0
≤
SourceStart
≤
SourceEnd
≤
0xffffff, 0
≤
Destination
≤
0xffffff
Usage example
n
Example 1
(gdb) x /16b 0
0x0: 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07
0x8: 0x08 0x09 0x0a 0x0b 0x0c 0x0d 0x0e 0x0f
(gdb)
c17 mvb 0x0 0x7 0x8
Start address = 0x0, End address = 0x7, Destination address = 0x8 .....done
(gdb) x /16b 0
0x0: 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07
0x8: 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07
The content of a memory area specified by addresses 0x0 to 0x7 is copied to an area beginning with address
0x8.
n
Example 2
(gdb) x /4w 0
0x0 <i>: 0x00000000 0x11111111 0x22222222 0x33333333
(gdb)
c17 mvw i i i+4
Start address = 0x0, End address = 0x0, Destination address = 0x4 .....done
(gdb) x /4w 0
0x0 <i>: 0x00000000 0x00000000 0x22222222 0x33333333
The content of long variable
i
is copied to an area located four bytes after that int variable.
Notes
•
When the source and destination have different endian formats, the data formats are converted when copied
from the source to the destination.
•
If the specified address exceeds the 24-bit range, an error is assumed.
•
In
c17 mvh
and
c17 mvw
, addresses are adjusted to boundary addresses conforming to the data size. This
is accomplished by processing the LSB address bit as 0 for
c17 mvh
and the 2 low-order address bits as 00
for
c17 mvw
.
•
If the end address at the source is smaller than its start address, an error is assumed.
•
If a specified memory section at the source contains an unused area, the data in that area is handled as 0xf0
when copied.
•
If a memory section at the destination contains an unused area, data is only copied to the effective area
(excluding the unused area).
Содержание 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 ...