7 DETAILS OF INSTRUCTIONS
ld.uh %rd, %rs
Function
Unsigned halfword data transfer
Standard)
Extension 1) Unusable
Extension 2) Unusable
15
Code
1
0
1
|
|
IE
C
V
Flag
|
|
–
–
–
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 zero-
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.uh
114
rd(15:0) ← rs(15:0), rd(31:16) ← 0
12 11
8
7
|
|
0
1
1
0
1
|
|
|
|
|
Z
N
|
|
–
–
; r0 ← r1(15:0) zero-extended
%r0,%r1
4
3
0
|
r s
r d
|
|
|
|
|
EPSON
0xAD__
S1C33 FAMILY C33 PE CORE MANUAL