gc80c520a CORERIVER Semiconductor, gc80c520a Datasheet - Page 105

no-image

gc80c520a

Manufacturer Part Number
gc80c520a
Description
Midas1.0 Family Mask Rom/eprom/romless 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
CPL
CPL C
CPL bit
Description:
Operation:
Operation:
Encoding:
Encoding:
bit
Function:
Example:
MiDAS1.0 Family
Cycles:
Cycles:
Bytes:
Bytes:
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 5Bh (01011101b). The instruction
sequence,
CPL P1.1
CPL P1.2
will leave the port set to 5Bh (01011011b).
1
1
CPL
(C)
2
2
CPL
(bit)
1
1
0
0
~(C)
~(bit)
1
1
1
1
0 0 1 1
0 0 1 0
Page 105 of 187
bit address

Related parts for gc80c520a