![Epson S1C17 Series Скачать руководство пользователя страница 152](http://html.mh-extra.com/html/epson/s1c17-series/s1c17-series_manual_107781152.webp)
S1C17 CORE MANUAL
Seiko Epson Corporation
7-93
(Rev. 1.2)
ld.b [%rb]+, %rs
ld.b [%rb]-, %rs
ld.b -[%rb], %rs
Function
Signed byte data transfer with address increment/decrement option
ld.b [%rb]+, %rs (with post-increment option)
Standard) B[
rb
]
←
rs
(7:0),
rb
(23:0)
←
rb
(23:0) + 1
Extension 1) B[
rb
]
←
rs
(7:0),
rb
(23:0)
←
rb
(23:0) +
imm13
Extension 2) B[
rb
]
←
rs
(7:0),
rb
(23:0)
←
rb
(23:0) +
imm24
ld.b [%rb]-, %rs (with post-decrement option)
Standard) B[
rb
]
←
rs
(7:0),
rb
(23:0)
←
rb
(23:0) - 1
Extension 1) B[
rb
]
←
rs
(7:0),
rb
(23:0)
←
rb
(23:0) -
imm13
Extension 2) B[
rb
]
←
rs
(7:0),
rb
(23:0)
←
rb
(23:0) -
imm24
ld.b -[%rb], %rs (with pre-decrement option)
Standard)
rb
(23:0)
←
rb
(23:0) - 1, B[
rb
]
←
rs
(7:0)
Extension 1)
rb
(23:0)
←
rb
(23:0) -
imm13,
B[
rb
]
←
rs
(7:0)
Extension 2)
rb
(23:0)
←
rb
(23:0) -
imm24,
B[
rb
]
←
rs
(7:0)
Code
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 1 0 0 1
r s
0 1 0 0
r b
ld.b [%rb]+,%rs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 0 1 0 0 1
r s
1 1 0 0
r b
ld.b [%rb]-,%rs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 0 1 0 0 1
r s
1 0 0 0
r b
ld.b -[%rb],%rs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Flag
IL IE C V Z N
– – – – – –
|
|
|
| |
Mode
Src: Register direct
%rs
=
%r0
to
%r7
Dst: Register indirect
%rb
=
%r0
to
%r7
CLK
Two cycles
Description
(1) Address increment/decrement option
Specifying the
[]+
,
[]-
, or
-[]
option will automatically increment/decrement the memory
address. This allows the program to simply perform continuous data transfer.
ld.b [%rb]+,%rs
Load instruction with post-increment option
The memory address will be incremented after the data transfer has
finished.
ld.b [%rb]-,%rs
Load instruction with post-decrement option
The memory address will be decremented after the data transfer has
finished.
ld.b -[%rb],%rs
Load instruction with pre-decrement option
The memory address will be decremented before starting the data
transfer.
The address increment/decrement sizes are listed below.
When no
ext
is used (standard):
1 (byte size)
When one
ext
is used (extension 1):
imm13
When two
ext
are used (extension 2):
imm24