MikroElektronika PIC Microcontrollers PIC16 Specifiche Pagina 176

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 266
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 175
1 2 ... 171 172 173 174 175 176 177 178 179 180 181 ... 265 266

Commenti su questo manuale

Nessun commento