MikroElektronika PIC Microcontrollers PIC16 Spécifications Page 162

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 266
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 161
mikroElektronika | Free Online Book | PIC Microcontrollers | Chapter 9: Instruction Set
Operation: 0 -> f
Operand: 0 f 127
Status affected: Z
Number of cycles: 1
EXAMPLE 1:
....
[label] CLRF TRISB
Before instruction execution: TRISB=0xFF
After instruction: TRISB=0x00
Z = 1
EXAMPLE 2:
Before instruction execution: FSR=0xC2
Register at address 0xC2 contains the value
0x33
After instruction: FSR=0xC2
Register at address 0xC2 contains the value
0x00
Z = 1
CLRW - Clear W
Syntax: [label] CLRW
Description: Register W is cleared and the Z flag of the STATUS register is set.
Operation: 0 -> W
Operand: -
Status affected: Z
Number of cycles: 1
http://www.mikroe.com/en/books/picmcubook/ch9/ (13 of 35)5/3/2009 11:35:12 AM
Vue de la page 161
1 2 ... 157 158 159 160 161 162 163 164 165 166 167 ... 265 266

Commentaires sur ces manuels

Pas de commentaire