Not (Not = Logical Complement) - Renesas H8/300 Series Programming Manual

Table of Contents

Advertisement

NOT (NOT = logical complement)

<Operation>
¬ Rd → Rd
<Assembly-Language Format>
NOT Rd
<Examples>
NOT R4L
<Operand Size>
Byte
<Description>
This instruction replaces the contents of an 8-bit general register with its one's complement
(subtracts the register contents from H'FF).
<Instruction Formats>
Addressing
mode
Register direct
Mnem.
Operands
NOT
Rd
<Condition Code>
I
— — — —
I: Previous value remains unchanged.
H: Previous value remains unchanged.
N: Set to "1" if the result is negative;
otherwise cleared to "0."
Z: Set to "1" if the result is zero; otherwise
cleared to "0."
V: Cleared to "0."
C: Previous value remains unchanged.
Instruction code
1st byte
2nd byte
1
7
0
rd
93
H
N
Z
3rd byte
4th byte
NOT
V
C
0
No. of
states
2

Advertisement

Table of Contents
loading

Table of Contents