![Epson S1C17 Series Скачать руководство пользователя страница 86](http://html.mh-extra.com/html/epson/s1c17-series/s1c17-series_manual_107781086.webp)
S1C17 CORE MANUAL
Seiko Epson Corporation
7-27
(Rev. 1.2)
cv.ab %rd, %rs
Function
Data conversion from byte to 24 bits
Standard)
rd
(23:8)
←
rs
(7),
rd
(7:0)
←
rs
(7:0)
Extension 1) Unusable
Extension 2) Unusable
Code
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 1 0 1 0
r d
0 1 1 1
r s
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Flag
IL IE C V Z N
– – – – – –
|
|
|
| |
Mode
Src: Register direct
%rs
=
%r0
to
%r7
Dst: Register direct
%rd
=
%r0
to
%r7
CLK
One cycle
Description
(1) Standard
The eight low-order bits of the
rs
register are transferred to the
rd
register after being sign-
extended to 24 bits.
rs
rd
X
23
8 7
0
23
8
8 bits
7
0
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
Byte
(2) Delayed slot instruction
This instruction may be executed as a delayed slot instruction by writing it directly after a
branch instruction with the “d” bit.
Example
When the R1 register contains 0x80
cv.ab %r0,%r1 ; r0 = 0xffff80