Ld.uh %Rd, %Rs - Epson S1C33 Series Core Manual

Cmos 32-bit single chip microcomputer
Hide thumbs Also See for S1C33 Series:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents