
6F3B0253
7. Instructions
FUN 236
XFER
Expanded data transfer
Expression
Input − [ A XFER B → C ]− Output
Function
When the input is ON, data block transfer is performed between the source which is indirectly designated by A and A+1 and the destination which is indirectly designated by C and C+1. The transfer size (number of words) is designated by B.
The transfer size is 1 to 256 words. (except for writing into EEPROM) Data transfer between the following objects are available.
• | CPU register (RW or D) | ↔ | EEPROM (D register) |
• | CPU register (RW or D) | ↔ | T1S |
Execution condition
Input | Operation | Output | ERF |
OFF | No execution | OFF | − |
ON | Normal execution | ON | − |
| When error is occurred (see Note) | ON | Set |
Operand
| Name |
|
| Device |
|
|
|
|
|
|
|
|
| Register |
|
| Constant | Index | ||||
|
| X | Y | R | S | T. | C. | XW | YW | RW | SW | T | C | D | I | J | K |
|
| |||
A | Source |
|
|
|
|
|
| √ | √ |
| √ | √ |
| √ | √ | √ |
|
|
|
|
|
|
| parameter |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
B | Transfer size |
|
|
|
|
|
| √ | √ |
| √ | √ |
| √ | √ | √ |
|
|
|
|
|
|
C | Destination |
|
|
|
|
|
|
|
| √ |
| √ | √ | √ | √ | √ |
|
|
|
|
|
|
| parameter |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Parameters
A A+1
Source parameter
Type
Leading address
B B+1 B+2
Transfer size and status
Transfer size
Status flag for
(max. 2 words)
C C+1
Destination parameter
Type
Leading address
Register type | Type code | Leading address | Transfer size |
RW register (RAM) | H0003 | 0 to 255 | 1 to 256 |
D register (RAM) | H0004 | 0 to 4095 | 1 to 256 |
D register (EEPROM) | H0020 | 0 to 2047 | 1 to 32 (if destination) |
|
|
| 1 to 256 (if source) |
T1S | H0030 | 0 (fixed) | 1 to 256 |
Basic Hardware and Function 241