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