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

PIC16F877-04I/PT 参数 Datasheet PDF下载

PIC16F877-04I/PT图片预览
型号: PIC16F877-04I/PT
PDF下载: 下载PDF文件 查看货源
内容描述: 40分之28引脚8位CMOS闪存微控制器 [28/40-pin 8-Bit CMOS FLASH Microcontrollers]
分类和应用: 闪存微控制器和处理器外围集成电路时钟
文件页数/大小: 200 页 / 3544 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F877-04I/PT的Datasheet PDF文件第134页浏览型号PIC16F877-04I/PT的Datasheet PDF文件第135页浏览型号PIC16F877-04I/PT的Datasheet PDF文件第136页浏览型号PIC16F877-04I/PT的Datasheet PDF文件第137页浏览型号PIC16F877-04I/PT的Datasheet PDF文件第139页浏览型号PIC16F877-04I/PT的Datasheet PDF文件第140页浏览型号PIC16F877-04I/PT的Datasheet PDF文件第141页浏览型号PIC16F877-04I/PT的Datasheet PDF文件第142页  
PIC16F87X  
TABLE 13-2: PIC16CXXX INSTRUCTION SET  
Mnemonic,  
Operands  
Description  
Cycles 14-Bit Opcode  
MSb  
Status  
Affected  
Notes  
LSb  
BYTE-ORIENTED FILE REGISTER OPERATIONS  
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  
1
1
1
1
1
1
1(2)  
1
1(2)  
1
1
1
1
1
1
1
1
1
00  
00  
00  
00  
00  
00  
00  
00  
00  
00  
00  
00  
00  
00  
00  
00  
00  
00  
0111 dfff ffff  
0101 dfff ffff  
0001 lfff ffff  
0001 0xxx xxxx  
1001 dfff ffff  
0011 dfff ffff  
1011 dfff ffff  
1010 dfff ffff  
1111 dfff ffff  
0100 dfff ffff  
1000 dfff ffff  
0000 lfff ffff  
0000 0xx0 0000  
1101 dfff ffff  
1100 dfff ffff  
0010 dfff ffff  
1110 dfff ffff  
0110 dfff ffff  
C,DC,Z  
1,2  
1,2  
2
Z
Z
Z
Z
Z
-
f, d  
f, d  
f, d  
f, d  
f, d  
f, d  
f, d  
f
1,2  
1,2  
1,2,3  
1,2  
1,2,3  
1,2  
1,2  
Z
Z
Z
Move W to f  
No Operation  
-
RLF  
RRF  
SUBWF  
SWAPF  
XORWF  
f, d  
f, d  
f, d  
f, d  
f, d  
Rotate Left f through Carry  
Rotate Right f through Carry  
Subtract W from f  
Swap nibbles in f  
Exclusive OR W with f  
C
C
1,2  
1,2  
1,2  
1,2  
1,2  
C,DC,Z  
Z
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
1 (2)  
1 (2)  
01 00bb bfff ffff  
01 01bb bfff ffff  
01 10bb bfff ffff  
01 11bb bfff ffff  
1,2  
1,2  
3
3
LITERAL AND CONTROL OPERATIONS  
ADDLW  
ANDLW  
CALL  
CLRWDT  
GOTO  
IORLW  
MOVLW  
RETFIE  
RETLW  
RETURN  
SLEEP  
SUBLW  
XORLW  
k
k
k
-
k
k
k
-
k
-
-
k
k
Add literal and W  
AND literal with W  
Call subroutine  
Clear Watchdog Timer  
Go to address  
1
1
2
1
2
1
1
2
2
2
1
1
1
11 111x kkkk kkkk C,DC,Z  
11 1001 kkkk kkkk  
10 0kkk kkkk kkkk  
00 0000 0110 0100  
10 1kkk kkkk kkkk  
11 1000 kkkk kkkk  
11 00xx kkkk kkkk  
00 0000 0000 1001  
11 01xx kkkk kkkk  
00 0000 0000 1000  
00 0000 0110 0011  
Z
TO,PD  
Z
Inclusive OR literal with W  
Move literal to W  
Return from interrupt  
Return with literal in W  
Return from Subroutine  
Go into standby mode  
Subtract W from literal  
Exclusive OR literal with W  
TO,PD  
11 110x kkkk kkkk C,DC,Z  
11 1010 kkkk kkkk  
Z
Note 1: 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’.  
2: If this instruction is executed on the TMR0 register (and, where applicable, d = 1), the prescaler will be cleared if assigned  
to the Timer0 Module.  
3: If Program Counter (PC) is modified or a conditional test is true, the instruction requires two cycles. The second cycle is  
executed as a NOP.  
Note: Additional information on the mid-range instruction set is available in the PICmicroMid-Range MCU Family  
Reference Manual (DS33023).  
DS30292B-page 138  
1999 Microchip Technology Inc.