User guide

27
SmartBook for Renesas R8C/Tiny Microcontrollers
www.MightyMicons.com
Interrupt on overflow
(INTO)
Save context
(STCTX)
Transfer to control register
(LDC)
Interrupt for undefined instruction
(UND)
Restore context
(LDCTX)
Wait
(WAIT)
Transfer to INTB register
(LDINTB)
Now, we proceed further into a detailed discussion to get the complete picture on
the processing power of the R8C/Tiny devices.
The device handles the multiplying operations at a faster rate thanks to the built-
in hardware 16 X 16 multiplier. For an example, the 16 X 16 multiplying for both
signed and unsigned operation requires just a single instruction consuming only
three bytes and is executed in four instruction cycles.
Likewise, 8 X 8 unsigned multiply is another single instruction requiring three
bytes of program memory and gets done in four instruction cycles.
For the division operations, for both signed and unsigned data types, the device
has single instruction for 16 / 8 and 32 / 16 type divisions.
Signed data requires two bytes of program memory and
the unsigned data needs three bytes of memory. 22
instruction cycles are required for the signed data
and 18 cycles for the unsigned.
Taking 16-bit addition/ subtraction into study,
we find these operations require single
instruction with two bytes of program memory
and getting executed in two instruction
cycles.
The devices support arithmetic operations
on the decimal data using few instructions.
The 16
X 16 multiplying
for both signed and
unsigned operation re-
quires just a single instruction
consuming only three bytes and
is executed in four instruction
cycles.
For the division operations,
for both signed
and unsigned data
types, the device has
single instruction for
16/8 and 32/16 type
divisions.
D
a
t
a
4
D
e
s
i
g
n