
5 INSTRUCTION SET
S1C33 FAMILY C33 PE CORE MANUAL
EPSON
31
5.7 Data Transfer Instructions
The transfer instructions in the C33 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
SSSSSSSS
31 24
Extended with the sign in bit 7 of the byte data
23 16 15 8
Byte data
7 0
SSSSSSSS
S
SSSSSSSS
rd
Unsigned byte data transfer
00000000
31 24 23 16 15 8
Byte data
7 0
00000000
00000000
rd
Signed halfword data transfer
SSSSSSSS
31
Extended with the sign in bit 15 of the halfword data
16 15
Halfword data
0
SSSSSSSS
S
rd
Unsigned halfword data transfer
00000000
31 16 15
Halfword data
0
00000000
rd
Comentarios a estos manuales