gc80c510 CORERIVER Semiconductor, gc80c510 Datasheet - Page 158

no-image

gc80c510

Manufacturer Part Number
gc80c510
Description
Eprom/rom 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
MOV
MOV C, bit
MOV bit, C
Description:
Operation:
Operation:
Encoding:
Encoding:
Function:
<dest-bit>, <src-bit>
Example:
Cycles:
Cycles:
Bytes:
Bytes:
Move bit data
The Boolean variable indicated by the second operand is copied into the
location specified by the first operand. One of the operands must be the carry
flag; the other may be any directly addressable bit. No other register or flag is
affected.
The carry flag is originally set. The data present at input Port 3 is 11000101b.
The data previously written to output Port 1 is 35h (00110101b).
MOV P1.3, C
MOV C, P3.3
MOV P1.2, C
will leave the carry cleared and change Port 1 to 39h (00111001b).
2
2
MOV
(C)
2
2
MOV
(bit)
1
1
0
0
(bit)
(C)
1
0
0
1
0 0 1 0
0 0 1 0
Page 158 of 211
bit address
bit address
Appendix A: Instruction Set

Related parts for gc80c510