![Epson S1C17 Series Скачать руководство пользователя страница 35](http://html.mh-extra.com/html/epson/s1c17-series/s1c17-series_manual_107781035.webp)
S1C17 CORE MANUAL
Seiko Epson Corporation
5-13
(Rev. 1.2)
5.4 Data Transfer Instructions
The transfer instructions in the S1C17 Core support data transfer between one register and another, as well as be-
tween a register and memory. A transfer data size and data extension format can be specified in the instruction code.
In mnemonics, this specification is classified as follows:
ld.b
Signed byte data transfer
ld.ub
Unsigned byte data transfer
ld
16-bit data transfer
ld.a
24/32-bit data transfer
In signed byte transfers to registers, the source data is sign-extended to 16 bits. In unsigned byte transfers, the
source data is zero-extended to 16 bits.
In transfers in which data is transferred from registers, data of a specified size on the lower side of the register is the
data to be transferred.
If the destination of transfer is a general-purpose register, the register content after a transfer is as follows:
Signed byte data transfer
Extended with the sign in bit 7 of the byte data
23
16 15
8
Byte data
7
0
0
0
0
0
0
0
0
0
S S
S
S
S
S
S
S
S
rd
Unsigned byte data transfer
23
16 15
8
Byte data
7
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
rd
16-bit data transfer
23
16 15
16-bit data
0
0
0
0
0
0
0
0
0
rd
24/32-bit data transfer
23
24-bit data
0
rd
Refer to Chapter 3, “Data Formats,” for the data layout in the memory.