欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC16F57-I/P 参数 Datasheet PDF下载

PIC16F57-I/P图片预览
型号: PIC16F57-I/P
PDF下载: 下载PDF文件 查看货源
内容描述: 基于闪存的8位CMOS微控制器系列 [Flash-Based, 8-Bit CMOS Microcontroller Series]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管时钟
文件页数/大小: 88 页 / 1373 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F57-I/P的Datasheet PDF文件第40页浏览型号PIC16F57-I/P的Datasheet PDF文件第41页浏览型号PIC16F57-I/P的Datasheet PDF文件第42页浏览型号PIC16F57-I/P的Datasheet PDF文件第43页浏览型号PIC16F57-I/P的Datasheet PDF文件第45页浏览型号PIC16F57-I/P的Datasheet PDF文件第46页浏览型号PIC16F57-I/P的Datasheet PDF文件第47页浏览型号PIC16F57-I/P的Datasheet PDF文件第48页  
PIC16F5X  
TABLE 9-2:  
INSTRUCTION SET SUMMARY  
Description  
12-Bit Opcode  
MSb LSb  
Mnemonic,  
Operands  
Status  
Affected  
Cycles  
Notes  
ADDWF  
ANDWF  
CLRF  
CLRW  
COMF  
DECF  
DECFSZ  
INCF  
INCFSZ  
IORWF  
MOVF  
MOVWF  
NOP  
f, d  
f, d  
f
Add W and f  
AND W with f  
Clear f  
Clear W  
Complement f  
Decrement f  
Decrement f, Skip if 0  
Increment f  
Increment f, Skip if 0  
Inclusive OR W with f  
Move f  
Move W to f  
No Operation  
Rotate left f through Carry  
Rotate right f through Carry  
Subtract W from f  
Swap f  
1
1
1
1
1
0001 11df ffff C,DC,Z 1, 2, 4  
0001 01df ffff  
0000 011f ffff  
0000 0100 0000  
0010 01df ffff  
0000 11df ffff  
0010 11df ffff  
0010 10df ffff  
0011 11df ffff  
0001 00df ffff  
0010 00df ffff  
0000 001f ffff  
0000 0000 0000  
0011 01df ffff  
0011 00df ffff  
Z
Z
Z
Z
Z
None  
Z
None  
Z
2, 4  
4
f, d  
f, d  
f, d  
f, d  
f, d  
f, d  
f, d  
f
1
2, 4  
2, 4  
2, 4  
2, 4  
2, 4  
2, 4  
1, 4  
1(2)  
1
1(2)  
1
1
1
1
1
1
1
1
1
Z
None  
None  
C
RLF  
RRF  
SUBWF  
SWAPF  
XORWF  
f, d  
f, d  
f, d  
f, d  
f, d  
2, 4  
2,4  
C
0000 10df ffff C,DC,Z 1, 2, 4  
0011 10df ffff  
0001 10df ffff  
None  
Z
2, 4  
2, 4  
Exclusive OR W with f  
BIT-ORIENTED FILE REGISTER OPERATIONS  
BCF  
BSF  
BTFSC  
BTFSS  
f, b  
f, b  
f, b  
f, b  
Bit Clear f  
Bit Set f  
Bit Test f, Skip if Clear  
Bit Test f, Skip if Set  
1
1
0100 bbbf ffff  
0101 bbbf ffff  
0110 bbbf ffff  
0111 bbbf ffff  
None  
None  
None  
None  
2, 4  
2, 4  
1(2)  
1(2)  
LITERAL AND CONTROL OPERATIONS  
ANDLW  
CALL  
CLRWDT  
GOTO  
IORLW  
MOVLW  
OPTION  
RETLW  
SLEEP  
TRIS  
k
k
k
k
k
k
f
k
AND literal with W  
Subroutine Call  
1
2
1
2
1
1
1
2
1
1
1
1110 kkkk kkkk  
1001 kkkk kkkk  
0000 0000 0100 TO, PD  
101k kkkk kkkk  
1101 kkkk kkkk  
1100 kkkk kkkk  
0000 0000 0010  
1000 kkkk kkkk  
Z
None  
1
Clear Watchdog Timer  
Unconditional branch  
Inclusive OR Literal with W  
Move Literal to W  
Load OPTION register  
Return, place Literal in W  
Go into Standby mode  
Load TRIS register  
None  
Z
None  
None  
None  
0000 0000 0011 TO, PD  
0000 0000 0fff  
1111 kkkk kkkk  
None  
Z
3
XORLW  
Exclusive OR Literal to W  
Note 1: The 9th bit of the program counter will be forced to a ‘0’ by any instruction that writes to the PC except for  
GOTO(see Section 3.5 “Program Counter” for more on program counter).  
2: When an I/O register is modified as a function of itself (e.g., MOVF PORTB, 1), the value used will be that  
value present on the pins themselves. For example, if the data latch is ‘1’ for a pin configured as input and  
is driven low by an external device, the data will be written back with a ‘0’.  
3: The instruction TRIS f, where f = 5, 6 or 7 causes the contents of the W register to be written to the  
tri-state latches of PORTA, B or C, respectively. A ‘1’ forces the pin to a high-impedance state and  
disables the output buffers.  
4: If this instruction is executed on the TMR0 register (and, where applicable, d = 1), the prescaler will be  
cleared (if assigned to TMR0).  
DS41213D-page 42  
© 2007 Microchip Technology Inc.