MikroElektronika PIC Microcontrollers PIC16 Especificaciones Pagina 171

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 266
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 170
mikroElektronika | Free Online Book | PIC Microcontrollers | Chapter 9: Instruction Set
EXAMPLE 2:
....
[label] MOVF INDF,f
Before instruction execution: W=0x17
FSR=0xC2, register at address 0xC2 contains
the value 0x00
After instruction: W=0x17
FSR=0xC2, register at address 0xC2 contains
the value 0x00,
Z = 1
MOVLW - Move literal to W
Syntax: [label] MOVLW k
Description: 8-bit literal k is moved to register W.
Operation: k -> (W)
Operand: 0 k 255
Status affected: -
Number of cycles: 1
EXAMPLE 1:
....
[label] MOVLW 0x5A
After instruction: W=0x5A
EXAMPLE 2:
Const equ 0x40
http://www.mikroe.com/en/books/picmcubook/ch9/ (22 of 35)5/3/2009 11:35:12 AM
Vista de pagina 170
1 2 ... 166 167 168 169 170 171 172 173 174 175 176 ... 265 266

Comentarios a estos manuales

Sin comentarios