MikroElektronika PIC Microcontrollers PIC16 Especificaciones Pagina 162

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 266
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 161
1 2 ... 157 158 159 160 161 162 163 164 165 166 167 ... 265 266

Comentarios a estos manuales

Sin comentarios