7
DETAILS OF INSTRUCTIONS
S1C33 FAMILY C33 PE CORE MANUAL
EPSON
103
ld.h
%rd
,
%rs
Function
Signed halfword data transfer
Standard)
rd
(
15
:
0
)
←
rs
(
15
:
0
),
rd
(
31
:
16
)
←
rs
(
15
)
Extension
1
) Unusable
Extension
2
) Unusable
Code
15
12
11
8
7
4
3
0
1
0
1
0
1
0
0
1
r s
r d
0xA9__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Flag
IE C V Z N
– – – – –
|
|
|
|
Mode
Src: Register direct
%rs
=
%r0
to
%r15
Dst: Register direct
%rd
=
%r0
to
%r15
CLK
One cycle
Description
(
1
) Standard
The
16
low-order bits of the
rs
register are transferred to the
rd
register after being sign-
extended to
32
bits.
(
2
) Delayed instruction
This instruction may be executed as a delayed instruction by writing it directly after a branch
instruction with the
“
d
”
bit.
Example
ld.h %r0,%r1
; r0
←
r1(15:0) sign-extended