Renesas R8C/Tiny Series Software Manual page 94

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 resulted in MSB = 1; otherwise cleared.
Z :
The flag is set when the operation resulted in 0; otherwise cleared.
[ Description Example ]
INC.W
A0
INC.B
R0L
[ Related Instructions ]
dest
B , W
1
dest
and stores the result in
B
S
Z
D
C
DEC
Increment
INCrement
[ Instruction Code/Number of Cycles ]
dest
.
*1
R0L
R0H
*1
abs16
A0
*1 You can only specify (.B) for the size specifier (.size).
*2 You can only specify (.W) for the size specifier (.size).
77
dest
*1
*1
dsp:8[SB]
*2
*2
A1
3.2 Functions
INC
Page=180
*1
dsp:8[FB]

Advertisement

Table of Contents
loading

Table of Contents