User guide

31
SmartBook for Renesas R8C/Tiny Microcontrollers
www.MightyMicons.com
There is a complementary instruction, Load Context, LDCTX, also available to
complete the picture.
An example using STCTX and LDCTX instructions.
3.15 String Store (SSTR):
This instruction stores the contents of R0 in block of memory area addressed by
A1. The block length is defined by R3. This instruction takes 2 bytes of program
code.
3.16 Extend Sign (EXTS):
This extends the sign of the data in 16 or 32 bits using two to four bytes of code.
The operation destination may be either register or the memory location.
3.17 Instruction Format:
R8C/Tiny architecture has the facility to define
the instructions in different formats to serve many
purposes. The instructions can be defined in
four different formats: Generic, Short, Quick
and Zero formats. Of these, the generic format
EXTS extends the
sign of the data in 16 or
32 bits
using two
to four bytes
of code.
D
a
t
a
4
D
e
s
i
g
n