Electronica Digital

Páginas: 2 (326 palabras) Publicado: 3 de julio de 2012
INSTRUCCIONES DEL PIC 16ƒ84
Las INSTRUCCIONES DEL PIC 16ƒ84 son 35, ya que pertenece a la gama media de los microcontroladores y es de tipo RISC; esto quiere decir que tiene un juego deinstrucciones reducido.
Las instrucciones fundamentalmente se dividen en 3 tipos:
* Instrucciones orientadas a los registros o bytes
* Instrucciones orientadas a los bits
* Operacionescon litarales y de control
REPERTORIO DE 35 INSTRUCCIONES DEL PIC16F84
Instrucciones orientadas a bit |
MNEMÓNICO
OPERANDOS | DESCRIPCIÓN | CÓDIGO OP | BANDERAS | NCIC | NOTAS |
BCF | f,b| Pone a 0 bit b de registro f | 01 00bb bfff ffff | Ninguna | 1 | 1,2 |
BSF | f,b | Pone a 1 bit b de registro f | 01 01bb bfff ffff | Ninguna | 1 | 1,2 |
BTFSC | f,b | Salto si bit b dereg. f es 0 | 01 10bb bfff ffff | Ninguna | 1(2) | 3 |
BTFSS | f,b | Salto si bit b de reg. f es 1 | 01 11bb bfff ffff | Ninguna | 1(2) | 3 |
Instrucciones con literales y de control |MNEMÓNICO
OPERANDOS | DESCRIPCIÓN | CÓDIGO OP | BANDERAS | NCIC | NOTAS |
ADDLW | k | w + k ? w | 11 111x kkkk kkkk | C,DC,Z | 1 | - |
ANDLW | k | w AND k ? w | 11 1001 kkkk kkkk | Z | 1 | - |CALL | k | Llamada a subrutina k | 10 0kkk kkkk kkkk | Ninguna | 2 | - |
CLRWDT | - | Borra temporizador del WDT | 00 0000 0110 0100 | TO,PD | 1 | - |
GOTO | k | Ir a dirección k | 101kkk kkkk kkkk | Ninguna | 2 | - |
IORLW | k | w OR k ? w | 11 1000 kkkk kkkk | Z | 1 | - |
MOVLW | k | k ? w | 11 00xx kkkk kkkk | Ninguna | 1 | - |
RETFIE | - | Retorno de unainterrupción | 00 0000 0000 1001 | Ninguna | 2 | - |
RETLW | k | Retorno con k en w | 11 01xx kkkk kkkk | Ninguna | 2 | - |
RETURN | - | Retorno de una subrutina | 00 0000 0000 1000 | Ninguna | 2 | - |SLEEP | - | Modo Standby | 00 0000 0110 0011 | TO, PD | 1 | - |
SUBLW | k | k - w ? w | 11 110x kkkk kkkk | C,DC,Z | 1 | - |
XORLW | k | w XOR k ? w | 11 1010 kkkk kkkk | Z | 1 | - |
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Electronica digital
  • Electrónica Digital
  • Electrónica Digital
  • Electronica Digital
  • electrónica digital
  • Electronica Digital
  • Electronica digital
  • Electronica digital

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS