7
DETAILS OF INSTRUCTIONS
100
EPSON
S1C33 FAMILY C33 PE CORE MANUAL
ld.c
%rd
,
imm4
Function
Transfer data from the coprocessor
Standard)
rd
(
7
:
0
)
←
W[CA(
imm4
)]
Extension
1
) Unusable
Extension
2
) Unusable
Code
15
12
11
8
7
4
3
0
1
0
1
1
0
0
0
1
imm4
r d
0xB1__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Flag
IE C V Z N
– – – – –
|
|
|
|
Mode
Src: Immediate (unsigned)
Dst: Register direct
%rd
=
%r0
to
%r15
CLK
One cycle
Description
(
1
) Standard
The contents of the coprocessor register specified by
imm4
is transferred to the general-purpose
register
rd
.
imm4
is output to the dedicated coprocessor address bus.
(
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.c %r1,0x3
; r1
←
coprocessor reg3