1) Not (B) - Hitachi H8/300H Series Programming Manual

Table of Contents

Advertisement

2.2.42 (1) NOT (B)

NOT (NOT = logical complement)
Operation
¬ Rd → Rd
Assembly-Language Format
NOT.B Rd
Operand Size
Byte
Description
This instruction takes the one's complement of the contents of an 8-bit register Rd (destination
operand) and stores the result in the 8-bit register Rd.
Available Registers
Rd: R0L to R7L, R0H to R7H
Operand Format and Number of States Required for Execution
Addressing
Mnemonic
Mode
Register direct
NOT.B
Notes
Operands
1st byte
Rd
1
7
136
Condition Code
I
UI H
U
— — — —
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: Always cleared to 0.
C: Previous value remains unchanged.
Instruction Format
2nd byte
3rd byte
0
rd
Logical Complement
N
Z
V
C
0
No. of
States
4th byte
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents