English
Language : 

SAB80515 Datasheet, PDF (178/270 Pages) Siemens Semiconductor Group – 8-Bit Single-Chip Microcontroller Family
Instruction Set
MOV
<dest-bit>, <src-bit>
Function:
Move bit data
Description:
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.
Example:
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 (00111001 B).
MOV
C,bit
Operation:
MOV
(C) ← (bit)
Encoding:
Bytes:
Cycles:
1010 0010
2
1
MOV
bit,C
Operation:
MOV
(bit) ← (C)
bit address
Encoding:
Bytes:
Cycles:
1001 0010
2
2
bit address
Semiconductor Group
178