
7 DETAILS OF INSTRUCTIONS
110
EPSON
S1C33 FAMILY C33 PE CORE MANUAL
ld.ub %rd, %rs
Function
Unsigned byte data transfer
Standard) rd(7:0)
← rs(7:0), rd(31:8) ← 0
Extension 1) Unusable
Extension 2) Unusable
Code
15 12 11 8 7 4 3 0
1 0 1 0 0 1 0 1
r s r d
0xA5__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Flag
IE C V Z N
– – – – –
|
|
|
|
Mode
Src: Register direct %rs = %r0 to %r15
Dst: Register direct
%rd = %r0 to %r15
CLK
One cycle
Description
(1) Standard
The 8 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.ub %r0,%r1 ; r0 ← r1(7:0) zero-extended
Kommentare zu diesen Handbüchern