
7 DETAILS OF INSTRUCTIONS
124
EPSON
S1C33 FAMILY C33 PE CORE MANUAL
ld.w %sd, %rs
Function
Word data transfer
Standard)
sd ← rs
Extension 1) Unusable
Extension 2) Unusable
Code
15 12 11 8 7 4 3 0
1 0 1 0 0 0 0 0
r s s d
0xA0__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Flag
IE C V Z N
– – – – –
|
|
|
|
If sd is the PSR, the content of rs is copied.
Mode
Src: Register direct %rs = %r0 to %r15
Dst: Register direct
%sd = %psr, %sp, %alr, %ahr, %ttbr, %pc
CLK
One cycle (three cycles when %sd = %psr)
Description
The content of the rs register (word data) is transferred to a special register.
Example
ld.w %sp,%r0 ; sp ← r0
Caution
When a special register other than the destination registers listed above is specified as %sd, the
ld.w instruction will be executed as a nop instruction.
Comentarios a estos manuales