MikroElektronika PIC Microcontrollers PIC16 Specifikace Strana 162

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 266
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 161
1 2 ... 157 158 159 160 161 162 163 164 165 166 167 ... 265 266

Komentáře k této Příručce

Žádné komentáře