2.2.15 BNOT
BNOT (Bit NOT)
Bit NOT
Operation
¬ (<bit No.> of <EAd>)
→
(<bit No.> of
<EAd>)
Assembly-Language Format
BNOT
#xx:3, <EAd>
BNOT
Rn, <EAd>
Operand Size
Byte
Condition Code
H: Previous value remains unchanged.
N: Previous value remains unchanged.
Z: Previous value remains unchanged.
V: Previous value remains unchanged.
C: Previous value remains unchanged.
I
UI
H
U
N
Z
V
C
—
—
—
—
—
—
—
—
Description
This instruction inverts a specified bit in the destination operand. The bit number is specified by
3-bit immediate data or by the lower 3 bits of a general register. The specified bit is not tested.
The condition code remains unchanged.
Available Registers
Rd:
R0L to R7L, R0H to R7H
Rn:
R0L to R7L, R0H to R7H
ERd: ER0 to ER7
7
0
Bit No.
Specified by #xx:3 or Rn
Invert
<EAd>
62