![Epson S1C17 Series Manual Download Page 165](http://html.mh-extra.com/html/epson/s1c17-series/s1c17-series_manual_107781165.webp)
7-106
Seiko Epson Corporation
S1C17 CORE MANUAL
(REV. 1.2)
(2) Standard (example of post-increment option)
ld.ub %rd,[%rb]+ ; source memory address = rb
; post increment: rb + 1
The byte data in the specified memory location is transferred to the
rd
register after being zero-
extended to 16 bits. The
rb
register contains the memory address to be accessed. The eight high-
order bits of the
rd
register are set to 0. The memory address will be incremented by two bytes
after the data transfer has finished.
(3) Extension 1 (example of post-decrement option)
ext imm13
ld.ub %rd,[%rb]- ; source memory address = rb
; post decrement: rb - imm13
The byte data in the specified memory location is transferred to the
rd
register after being zero-
extended to 16 bits. The
rb
register contains the memory address to be accessed. The eight high-
order bits of the
rd
register are set to 0. The memory address will be decremented by
imm13
bytes after the data transfer has finished.
(4) Extension 2 (example of pre-decrement option)
ext imm11 ;
imm11(10:0) = imm24(23:13)
ext imm13
; = imm24(12:0)
ld.ub %rd,-[%rb] ; source memory address = rb - imm24
After the memory address specified by the
rb
register is decremented by
imm24
bytes, the byte
data in the decremented address is transferred to the
rd
register after being zero-extended to 16
bits. The eight high-order bits of the
rd
register are set to 0.
(5) 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. In this case, extension of the immediate by the
ext
instruction cannot be performed.