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

no-image

SAB80C517-M16

Manufacturer Part Number
SAB80C517-M16
Description
8-Bit CMOS Single-Chip Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
CPL
Function:
Description:
Example:
CPL
Operation:
Encoding:
Bytes:
Cycles:
CPL
Operation:
Encoding:
Bytes:
Cycles:
Semiconductor Group
bit
C
bit
Complement bit
The bit variable specified is complemented. A bit which had been a one is changed
to zero and vice versa. No other flags are affected. CPL can operate on the carry or
any directly addressable bit.
Note:
When this instruction is used to modify an output pin, the value used as the original
data will be read from the output data latch, not the input pin.
Port 1 has previously been written with 5D H (01011101 B ). The instruction
sequence
CPL
CPL
will leave the port set to 5B H (01011011 B ).
CPL
(bit)
1
1
CPL
(C)
2
1
1 0 1 1
1 0 1 1
(bit)
(C)
P1.1
P1.2
0 0 1 1
0 0 1 0
194
bit address
Instruction Set

Related parts for SAB80C517-M16