gc80c510 CORERIVER Semiconductor, gc80c510 Datasheet - Page 132

no-image

gc80c510

Manufacturer Part Number
gc80c510
Description
Eprom/rom 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
CPL
CPL C
CPL bit
Description:
Operation:
Operation:
Encoding:
Encoding:
bit
Function:
Example:
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 132 of 211
bit address
Appendix A: Instruction Set

Related parts for gc80c510