Atmel C51 Handbuch Seite 48

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 116
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 47
The 8051 Instruction Set
Atmel 8051 Microcontrollers Hardware Manual 1-46
4316E–8051–01/07
1.14.29 MOV <dest-
bit>,<src-bit>
MOV @R
i
,direct
Bytes: 2
Cycles: 2
Encoding: 1 0 1 0 0 1 1 i direct addr.
Operation: MOV
((R
i
)) (direct)
MOV @R
i
,#data
Bytes: 2
Cycles: 1
Encoding: 0 1 1 1 0 1 1 i immediate data
Operation: MOV
((R
i
)) #data
Function: Move bit data
Description: MOV <dest-bit>,<src-bit> copies the Boolean variable indicated by the second operand 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
leaves the carry cleared and changes Port 1 to 39H (00111001B).
MOV C,bit
Bytes: 2
Cycles: 1
Encoding: 1 0 1 0 0 0 1 0 bit address
Operation: MOV
(C) (bit)
MOV bit,C
Bytes: 2
Cycles: 2
Encoding: 1 0 0 1 0 0 1 0 bit address
Operation: MOV
(bit) (C)
Seitenansicht 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 115 116

Kommentare zu diesen Handbüchern

Keine Kommentare