Renesas R8C/Tiny Series Software Manual page 83

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

Advertisement

Chapter 3
Functions
DEC
[ Syntax ]
DEC.size
dest
[ Operation ]
dest
dest
[ Function ]
• This instruction decrements 1 from
[ Selectable dest ]
[ Flag Change ]
Flag
U
I
O B
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 ]
DEC.W
A0
DEC.B
R0L
[ Related Instructions ]
DECrement
B , W
1
dest
and stores the result in
S
Z
D
C
INC
Decrement
[ Instruction Code/Number of Cycles ]
dest
R0L
*1
R0H
*1
*2
abs16
A0
*1 You can only specify (.B) for the size specifier (.size).
*2 You can only specify (.W) for the size specifier (.size).
66
3.2 Functions
.
dest
*1
dsp:8[SB]
*1
dsp:8[FB]
*2
A1
DEC
Page=169
*1

Advertisement

Table of Contents
loading

Table of Contents