Hohohohoh

Páginas: 2 (373 palabras) Publicado: 22 de octubre de 2012
CUADRO DE INSTRUCCIONES
 
 
35 instrucciones de la gama media las encontraremos resumidas en los tres próximos cuadros.
 
Instrucciones orientadas a los bytes
 
Mnemónico | Parámetros |Descripción | Ciclos | Banderas |
ADDWF | f, d | Add W and f | 1 | C, DC, Z |
ANDWF | f, d | AND W with f | 1 | Z |
CLRF | f | Clear f | 1 | Z |
CLRW | - | Clear W | 1 | Z |
COMF |f, d | Complement f | 1 | Z |
DECF | f, d | Decrement f | 1 | Z |
DECFSZ | f, d | Decrement f, Skip if 0 | 1(2) | None |
INCF | f, d | Increment f | 1 | Z |
INCFSZ | f, d |Increment f, Skip if 0 | 1(2) | None |
IORWF | f, d | Inclusive OR W with f | 1 | Z |
MOVF | f, d | Move f | 1 | Z |
MOVWF | f | Move W to f | 1 | None |
NOP | - | No Operation | 1 |None |
RLF | f, d | Rotate left f through carry | 1 | C |
RRF | f, d | Rotate right f through carry | 1 | C |
SUBWF | f, d | Subtract W from f | 1 | C, DC, Z |
SWAPF | f, d | Swapnibbles in f | 1 | None |
XORWF | f, d | Exclusive OR W with f | 1 | Z |
Instrucciones orientadas a los bits
Mnemónico | Parámetros | Descripción | Ciclos | Banderas |
BCF | f, b | BitClear f | 1 | None |
BSF | f, b | Bit Set f | 1 | None |
BTFSC | f, b | Bit Test f, Skip if Clear | 1 (2) | None |
BTFSS | f, b | Bit Test f, Skip if Set | 1 (2) | None |
Operaciones conliterales y de control
Mnemónico | Parámetros | Descripción | NroCic. | Banderas |
ADDLW | k | Add literal and W | 1 | C, DC, Z |
ANDLW | k | AND literal with W | 1 | Z |
CALL | k |Call subroutine | 2 |   |
CLRWDT | - | Clear Watchdog Timer | 1 | TO,PD |
GOTO | k | Go to address | 2 | None |
IORLW | k | Inclusive OR literal with W | 1 | Z |
MOVLW | k | Moveliteral to W | 1 | None |
RETFIE | - | Return from interrupt | 2 | None |
RETLW | k | Return with literal in W | 2 | None |
RETURN | - | Return from Subroutine | 2 | None |
SLEEP | -...
Leer documento completo

Regístrate para leer el documento completo.

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS