User guide

90
SmartBook for Renesas R8C/Tiny Microcontrollers
www.MightyMicons.com
Chapter 3 Instruction Set
3.1 Introduction ............................................................................................................. 23
3.2 Data Types.............................................................................................................. 23
3.3 Instruction Set ........................................................................................................ 24
3.4 Data Transfer (14 instructions) ............................................................................. 24
3.5 Arithmetic (21)........................................................................................................ 24
3.6 Shift/Logic (10) ....................................................................................................... 25
3.7 Branch (8) ............................................................................................................... 25
3.8 Bit Manipulation (14) ............................................................................................. 26
3.9 String (3) ................................................................................................................. 26
3.10 Control/Other (19) .................................................................................................. 26
3.11 Repeat Multiple and Addition (RMPA) ................................................................. 28
3.12 String Move Forward (SMOVF) ............................................................................. 29
3.13 Save Multiple Registers (PUSHM) ....................................................................... 29
3.14 Store Context (STCTX) .......................................................................................... 30
3.15 String Store (SSTR)............................................................................................... 31
3.16 Extend Sign (EXTS) ............................................................................................... 31
3.17 Instruction Format.................................................................................................. 31
3.17.1 Generic Format ......................................................................................... 32
3.17.2 Quick Format............................................................................................. 32
3.17.3 Short Format ............................................................................................. 32
3.17.4 Zero Format ............................................................................................... 32
Chapter 4 Addressing Modes
4.1 Introduction ............................................................................................................. 35
4.2 Special Instruction Addressing............................................................................. 37
4.3 Bit Instruction Addressing..................................................................................... 38