MikroElektronika PIC Microcontrollers PIC16 Specifiche Pagina 158

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 266
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 157
mikroElektronika | Free Online Book | PIC Microcontrollers | Chapter 9: Instruction Set
Operand: 0 f 127, 0 b 7
Status affected: -
Number of cycles: 1
EXAMPLE 1:
....
[label] BCF REG,7
Before instruction execution: REG = 0xC7 ; 1100 0111 (0xC7)
After instruction: REG = 0x47 ; 0100 0111 (0x47)
EXAMPLE 2:
....
[label] BCF INDF,3
Before instruction execution: W = 0x17
FSR = 0xC2
Register at address (FSR)contains the value
0x2F
After instruction: W = 0x17
FSR = 0xC2
Register at address (FSR)contains the value
0x27
BSF - Bit set f
Syntax: [label] BSF f,b
Description: Bit b of register f is set.
Operation: 1 -> f (b)
Operand: 0 f 127, 0 b 7
http://www.mikroe.com/en/books/picmcubook/ch9/ (9 of 35)5/3/2009 11:35:12 AM
Vedere la pagina 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 265 266

Commenti su questo manuale

Nessun commento