English
Language : 

M166 Datasheet, PDF (42/127 Pages) Siemens Semiconductor Group – C16x Family of Siemens 16-Bit CMOS Single-Chip Microcontrollers
30Mar98@15:00h
C166 Family Instruction Set
Instruction Description
BCMP
Bit to Bit Compare
BCMP
Syntax
Operation
Data Types
Description
Note:
BCMP op1, op2
(op1) ⇔ (op2)
BIT
Performs a single bit comparison of the source bit specified by operand
op1 to the source bit specified by operand op2. No result is written by this
instruction. Only the condition codes are updated.
The meaning of the condition flags for the BCMP instruction is different
from the meaning of the flags for the other compare instructions.
Condition Flags
E
Z
V
C
N
0 NOR OR AND XOR
Addressing Modes
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.
Mnemonic
BCMP
bitaddrZ.z, bitaddrQ.q
Format
2A QQ ZZ qz
Bytes
4
Semiconductor Group
42
Version 1.2, 12.97