gc80c520a CORERIVER Semiconductor, gc80c520a Datasheet - Page 131

no-image

gc80c520a

Manufacturer Part Number
gc80c520a
Description
Midas1.0 Family Mask Rom/eprom/romless 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:
MiDAS1.0 Family
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 131 of 187
bit address
bit address

Related parts for gc80c520a