MikroElektronika PIC Microcontrollers PIC16 Spécifications Page 176

  • 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 175
mikroElektronika | Free Online Book | PIC Microcontrollers | Chapter 9: Instruction Set
Fig. 9-1 f Register
EXAMPLE 1:
....
[label] RLF REG,w
Before instruction execution: REG = 1110 0110
C = 0
After instruction: REG = 1110 0110
W = 1100 1100
C = 1
EXAMPLE 2:
....
[label] RLF REG,f
Before instruction execution: REG = 1110 0110
C = 0
After instruction: REG = 1100 1100
C = 1
RRF - Rotate Right f through Carry
Syntax: [label] RRF f, d
Description: The content of register f is rotated one bit right through the Carry flag. If d =
w or d = 0, the result is stored in register W. If d = f or d = 1, the result is stored in register
f.
http://www.mikroe.com/en/books/picmcubook/ch9/ (27 of 35)5/3/2009 11:35:12 AM
Vue de la page 175
1 2 ... 171 172 173 174 175 176 177 178 179 180 181 ... 265 266

Commentaires sur ces manuels

Pas de commentaire