66
3.2 Functions
Chapter 3 Functions
U
I
O
B
S
Z
D
C
DECrement
Decrement
[ Syntax ]
DEC.size
dest
[ Flag Change ]
[ Related Instructions ]
INC
[ Function ]
DEC
DEC
[ Description Example ]
DEC.W
A0
DEC.B
R0L
B , W
[ Selectable dest ]
[ Operation ]
dest dest – 1
dest
R0L
*1
R0H
*1
dsp:8[SB]
*1
dsp:8[FB]
*1
abs16
*1
A0
*2
A1
*2
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.
• This instruction decrements 1 from
dest
and stores the result in
dest
.
*1 You can only specify (.B) for the size specifier (.size).
*2 You can only specify (.W) for the size specifier (.size).
[ Instruction Code/Number of Cycles ]
Page=169
Flag
Change
Содержание R8C/Tiny Series
Страница 50: ...Chapter 3 Functions 3 1 Guide to This Chapter 3 2 Functions...
Страница 151: ...134 Chapter 3 Functions 3 2 Functions Blank for page layout...
Страница 152: ...Chapter 4 Instruction Code Number of Cycles 4 1 Guide to This Chapter 4 2 Instruction Code Number of Cycles...
Страница 278: ...Chapter 6 Calculation Number of Cycles 6 1 Instruction queue buffer...
Страница 287: ...Glossary 1 Glossary Technical terms used in this software manual are explained below They are good in this manual only...
Страница 291: ...Symbol 1 Table of symbols Symbols used in this software manual are explained below They are good in this manual only...
Страница 295: ...REVISION HISTORY R8C Tiny Series SOFTWARE MANUAL Rev Date Description Page Summary B 1 1 00 Jun 19 03 First Edition...
Страница 297: ...R8C Tiny Series Software Manual 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan...