Infineon Technologies C166S V2 User Manual page 223

16-bit microcontroller
Table of Contents

Advertisement

BCMP
Group
Syntax
Source Operand(s)
Destination Operand(s)
Operation
(op1) ⇔ (op2)
Description
Performs a single bit comparison of the source bit specified by op1 and the source bit
specified by op2. No result is written by this instruction. Only the flags are updated.
CPU Flags
E
Always cleared.
Z
Contains the logical NOR of the two specified bits.
V
Contains the logical OR of the two specified bits.
C
Contains the logical AND of the two specified bits.
N
Contains the logical XOR of the two specified bits.
Encoding
Mnemonic
BCMP
bitaddr
User Manual
Bit to Bit Compare
Boolean Bit Manipulation Instructions
BCMP op1, op2
op1, op2 → BIT
none
E
Z
0
NOR
, bitaddr
Z.z
Q.q
Detailed Instruction Description
V
C
OR
AND
Format
2A QQ ZZ qz
8-223
User Manual
C166S V2
BCMP
N
XOR
Bytes
4
V 1.7, 2001-01

Advertisement

Table of Contents
loading

Table of Contents