SAB80C517-M16 SIEMENS [Siemens Semiconductor Group], SAB80C517-M16 Datasheet - Page 186

no-image

SAB80C517-M16

Manufacturer Part Number
SAB80C517-M16
Description
8-Bit CMOS Single-Chip Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
ANL
Function:
Description:
Example:
ANL
Operation:
Encoding:
Bytes:
Cycles:
ANL
Operation:
Encoding:
Bytes:
Cycles:
Semiconductor Group
C, <src-bit>
C,bit
C,/bit
Logical AND for bit variables
If the Boolean value of the source bit is a logic 0 then clear the carry flag; otherwise
leave the carry flag in its current state. A slash (”/” preceding the operand in the
assembly language indicates that the logical complement of the addressed bit is
used as the source value, but the source bit itself is not affected . No other flags are
affected.
Only direct bit addressing is allowed for the source operand.
Set the carry flag if, and only if, P1.0 = 1, ACC.7 = 1, and OV = 0:
MOV
ANL
ANL
ANL
(C)
2
2
ANL
(C)
2
2
1 0 0 0
1 0 1 1
(C)
(C)
C,P1.0
C,ACC.7
C,/OV
(bit)
0 0 1 0
0 0 0 0
(bit)
187
bit address
bit address
; Load carry with input pin state
; AND carry with accumulator bit 7
; AND with inverse of overflow flag
Instruction Set

Related parts for SAB80C517-M16