intd. MCS@-51PROGRAMMEWSGUIDE AND INSTRUCTIONSET
MOV @Ri&
B-
cycles:
Encoding:
Operation:
MOV @Ri,direct
Bytes:
Cycles:
Encoding:
Operation:
MOV @Ri,#data
Bytes:
Cycles:
Encoding:
Operation:
.
1
1
1111
Olli
MOV
(@i)) + (A)
2
2
llOIOIOllil
I directaddr. I
MOV
(@i)) + (direct)
2
.
1
0111 Olli
I
MOV
immediate data
((RI)) + #data
MOV <cleat-bit>, <erc-bit>
Function: Move
bitdata
Description: The Booleanvariableindicatedbythe secondoperandis copiedinto the locationspecitkd by
the first operand.Oneof the operandsmust be the carry flag;the other may be any directly
addressablebit. No other registeror flagis affected.
Example: The carry tlag is originallyset.The data present at input Port 3 is 11OOO1OIB.The data
previouslywrittento output Port 1is 35H (03110101B).
MOV P1.3,C
MOV C,P3.3
MOV P1.2,C
will
leavethecarryclearedand changePort 1to 39H(OO111OO1B).
2-55