MikroElektronika PIC Microcontrollers PIC16 Spezifikationen Seite 172

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 266
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 171
mikroElektronika | Free Online Book | PIC Microcontrollers | Chapter 9: Instruction Set
[label] MOVLW Const
Before instruction execution: W=0x10
After instruction: W=0x40
MOVWF - Move W to f
Syntax: [label] MOVWF f
Description: The content of register W is moved to register f.
Operation: (W) -> f
Operand: 0 f 127
Status affected: -
Number of cycles: 1
EXAMPLE 1:
....
[label] MOVWF OPTION_REG
Before instruction execution: OPTION_REG=0x20
W=0x40
After instruction: OPTION_REG=0x40
W=0x40
EXAMPLE 2:
....
[label] MOVWF INDF
Before instruction execution: W=0x17
FSR=0xC2, register at address 0xC2 contains
http://www.mikroe.com/en/books/picmcubook/ch9/ (23 of 35)5/3/2009 11:35:12 AM
Seitenansicht 171
1 2 ... 167 168 169 170 171 172 173 174 175 176 177 ... 265 266

Kommentare zu diesen Handbüchern

Keine Kommentare