5
INSTRUCTION SET
S1C33 FAMILY C33 PE CORE MANUAL
EPSON
31
5
.
7
Data Transfer Instructions
The transfer instructions in the C
33
PE Core support data transfer between one register and another, as well as
between 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.h
Signed halfword data transfer
ld.uh
Unsigned halfword data transfer
ld.w
Word data transfer
In signed byte or halfword transfers to registers, the source data is sign-extended to
32
bits. In unsigned byte or
halfword transfers, the source data is zero-extended to
32
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
S
S
S
S
S
S
S
S
31
24
Extended with the sign in bit 7 of the byte data
23
16 15
8
Byte data
7
0
S
S
S
S
S
S
S
S
S S
S
S
S
S
S
S
S
rd
Unsigned byte data transfer
0
0
0
0
0
0
0
0
31
24 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
Signed halfword data transfer
S
S
S
S
S
S
S
S
31
Extended with the sign in bit 15 of the halfword data
16 15
Halfword data
0
S
S
S
S
S
S
S
S
S
rd
Unsigned halfword data transfer
0
0
0
0
0
0
0
0
31
16 15
Halfword data
0
0
0
0
0
0
0
0
0
rd
Содержание S1C33 Series
Страница 1: ...CMOS 32 BIT SINGLE CHIP MICROCOMPUTER Core Manual S1C33 Family C33 PE ...
Страница 4: ......