Move data ram – Epson S1C62 Family User Manual
Page 157

Format
ICE CONTROL SOFTWARE ICS62XX
S1C62 FAMILY
EPSON
VIII-43
DEVELOPMENT TOOL REFERENCE MANUAL
Contents of to in the data RAM area are transferred to
and above.
Data RAM area
(for S1C6S3N7/6S3B7/6S3L7)
Address 1
. . . 00
Address 2
. . . 3F
Address 3
. . . 50
4F
7E
MOVE DATA RAM
MD
#MD,
,
,
A
A
←
Function
(1) A write operation cannot execute when the top transferred address coincides with the
I/O area read only region.
(2) A read operation cannot execute when the bottom transferred address coincides with the
I/O area write only region. In this case a 0 is written to the top address.
(3) When the transfer address coincides with an I/O address of mixed readable bits and
write only bits, either read or write operations can execute.
Notes
Examples
#MD,10,1F,30
...
Contents of data RAM addresses 10 to 1F are moved to
addresses 30 to 3F
#MD,00,3F,70
* COMMAND ERROR *
...
When the transfer area exceeds the RAM area (7E for
S1C6S3N7/6S3B7/6S3L7), an error is indicated and
commands are not executed
#MD,30,20,50
* COMMAND ERROR *
...
Address 1 > address 2 error
#MD,30,30,50
...
Contents of address 30 are copied to address 50, then
instruction is executed normally
#MD,E00,E1F,E60
* UNUSED AREA *
...
When there is an unused area in the transfer area (either
sending or receiving side), an unused area error
#
message is displayed (for S1C6S460)