Renesas R8C/Tiny Series Software Manual page 115

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

Advertisement

Chapter 3 Functions
NOT
[ Syntax ]
NOT.size (:format) dest
[ Operation ]
________
dest
dest
[ Function ]
• This instruction inverts
[ 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 ]
NOT.B
R0L
NOT.W
A1
[ Related Instructions ]
dest
and stores the result in
B
S
Z
D
C
NEG
Invert all bits
NOT
[ Instruction Code/Number of Cycles ]
(Can be specified)
G , S
B , W
dest
.
R0L
*1
/R0
R0H
A0/A0
A1/A1
dsp:8[A0]
dsp:8[A1]
dsp:16[A0] dsp:16[A1]
dsp:20[A0] dsp:20[A1]
R2R0
R3R1
*1 Can be selected in G and S formats.
In other cases,
98
3.2 Functions
dest
*1
/R1
R1L/R2
R1H/R3
[A0]
[A1]
dsp:8[SB]
*1
dsp:8[FB]
dsp:16[SB]
abs16
abs20
A1A0
dest
can be selected in G format.
NOT
Page=208
*1
*1

Advertisement

Table of Contents
loading

Table of Contents