Renesas R8C/Tiny Series Software Manual page 95

16-bit single-chip microcomputer
Hide thumbs Also See for R8C/Tiny Series:
Table of Contents

Advertisement

Chapter 3
Functions
INC
[ Syntax ]
INC.size
[ Operation ]
dest
dest
+
[ Function ]
• This instruction adds 1 to
[ Selectable dest ]
[ Flag Change ]
Flag
U
I
O
Change
Conditions
S :
The flag is set when the operation results in MSB = 1; otherwise cleared.
Z :
The flag is set when the operation results in 0; otherwise cleared.
[ Description Example ]
INC.W
A0
INC.B
R0L
[ Related Instructions ]
Rev.2.00 Oct 17, 2005
REJ09B0001-0200
dest
B , W
1
dest
and stores the result in
B
S
Z
D
C
DEC
page 77 of 263
Increment
INCrement
[ Instruction Code/Number of Cycles ]
dest
.
*1
R0L
R0H
*1
*2
abs16
A0
*1 Only (.B) can be selected as the size specifier (.size).
*2 Only (.W) can be selected as the size specifier (.size).
3.2 Functions
dest
*1
*1
dsp:8[SB]
dsp:8[FB]
*2
A1
INC
Page: 180
*1

Advertisement

Table of Contents
loading

Table of Contents