hit counter script

Ld.w %Rd, Sign6 - Epson S1C33 Series Core Manual

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

Advertisement

ld.w %rd, sign6

Function
Word data transfer
Standard)
Extension 1) rd(18:0) ← sign19(18:0), rd(31:19) ← sign19(18)
Extension 2) rd ← sign32
15
Code
0
1
1
|
|
IE
C
V
Flag
|
|
Mode
Src:Immediate data (signed)
Dst:Register direct %rd = %r0 to %r15
CLK
One cycle
Description
(1) Standard
ld.w
The 6-bit immediate sign6 is loaded to the rd register after being sign-extended.
(2) Extension 1
ext
ld.w
The immediate data is extended into a 19-bit quantity by the ext instruction and it is loaded to
the rd register after being sign-extended.
(3) Extension 2
ext
ext
ld.w
The immediate data is extended into a 32-bit quantity by the ext instruction and it is loaded to
the rd register.
(4) Delayed instruction
This instruction may be executed as a delayed instruction by writing it directly after a branch
instruction with the "d" bit. In this case, extension of the immediate by the ext instruction
cannot be performed.
Example
ld.w
%r0,0x3f
S1C33 FAMILY C33 PE CORE MANUAL
rd(5:0) ← sign6(5:0), rd(31:6) ← sign6(5)
12 11 10
9
|
|
0
1
1
sign6
|
|
|
|
|
Z
N
|
|
; rd ← sign6 (sign-extended)
%rd,sign6
imm13
; = sign19(18:6)
; rd ← sign19 (sign-extended),
%rd,sign6
; sign6 = sign19(5:0)
imm13
; = sign32(31:19)
imm13
; = sign32(18:6)
; rd ← sign32, sign6 = sign32(5:0)
%rd,sign6
; r0 ← 0xffffffff
4
3
0
|
r d
|
|
|
|
|
EPSON
7 DETAILS OF INSTRUCTIONS
0x6C__
123

Advertisement

Table of Contents
loading

Table of Contents