ClubEnsayos.com - Ensayos de Calidad, Tareas y Monografias
Buscar

35 Instrucciones Pic


Enviado por   •  6 de Septiembre de 2012  •  276 Palabras (2 Páginas)  •  686 Visitas

Página 1 de 2

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 Swap nibbles 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 Bit Clear 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 con literales 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 Move literal 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 - Go into standby mode 1 TO,PD

SUBLW k

...

Descargar como (para miembros actualizados)  txt (1.8 Kb)  
Leer 1 página más »
Disponible sólo en Clubensayos.com