Download Renesas R8C/17 User guide
Transcript
SmartBook for Renesas R8C/Tiny Microcontrollers 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. EXTS extends the sign of the data in 16 or 3.17 Instruction Format: 32 bits 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 www.MightyMicons.com using two to four bytes of code. 4 D esi gn R8C/Tiny architecture has the facility to define D a ta 31