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

PIC17LC42-16I/JW 参数 Datasheet PDF下载

PIC17LC42-16I/JW图片预览
型号: PIC17LC42-16I/JW
PDF下载: 下载PDF文件 查看货源
内容描述: 高性能8位CMOS EPROM / ROM微控制器 [High-Performance 8-Bit CMOS EPROM/ROM Microcontroller]
分类和应用: 微控制器可编程只读存储器电动程控只读存储器
文件页数/大小: 240 页 / 1141 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第106页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第107页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第108页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第109页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第111页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第112页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第113页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第114页  
PIC17C4X  
TABLE 15-2: PIC17CXX INSTRUCTION SET  
Mnemonic,  
Operands  
Description  
Cycles  
16-bit Opcode  
Status  
Affected  
Notes  
MSb  
LSb  
BYTE-ORIENTED FILE REGISTER OPERATIONS  
ADDWF  
ADDWFC  
ANDWF  
CLRF  
f,d  
f,d  
f,d  
f,s  
f,d  
f
ADD WREG to f  
1
1
1
1
1
0000 111d ffff ffff  
0001 000d ffff ffff  
0000 101d ffff ffff  
0010 100s ffff ffff  
0001 001d ffff ffff  
OV,C,DC,Z  
ADD WREG and Carry bit to f  
AND WREG with f  
OV,C,DC,Z  
Z
None  
Z
Clear f, or Clear f and Clear WREG  
Complement f  
3
COMF  
CPFSEQ  
CPFSGT  
CPFSLT  
DAW  
Compare f with WREG, skip if f = WREG  
Compare f with WREG, skip if f > WREG  
Compare f with WREG, skip if f < WREG  
Decimal Adjust WREG Register  
Decrement f  
1 (2) 0011 0001 ffff ffff  
1 (2) 0011 0010 ffff ffff  
1 (2) 0011 0000 ffff ffff  
None 6,8  
f
None 2,6,8  
None 2,6,8  
f
f,s  
f,d  
f,d  
f,d  
f,d  
f,d  
f,d  
f,d  
f,p  
p,f  
f
1
1
0010 111s ffff ffff  
0000 011d ffff ffff  
C
3
DECF  
OV,C,DC,Z  
DECFSZ  
DCFSNZ  
INCF  
Decrement f, skip if 0  
Decrement f, skip if not 0  
Increment f  
1 (2) 0001 011d ffff ffff  
1 (2) 0010 011d ffff ffff  
None 6,8  
None 6,8  
1
0001 010d ffff ffff  
OV,C,DC,Z  
INCFSZ  
INFSNZ  
IORWF  
MOVFP  
MOVPF  
MOVWF  
MULWF  
NEGW  
NOP  
Increment f, skip if 0  
Increment f, skip if not 0  
Inclusive OR WREG with f  
Move f to p  
1 (2) 0001 111d ffff ffff  
1 (2) 0010 010d ffff ffff  
None 6,8  
None 6,8  
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0000 100d ffff ffff  
011p pppp ffff ffff  
010p pppp ffff ffff  
0000 0001 ffff ffff  
0011 0100 ffff ffff  
0010 110s ffff ffff  
0000 0000 0000 0000  
0001 101d ffff ffff  
0010 001d ffff ffff  
0001 100d ffff ffff  
0010 000d ffff ffff  
0010 101s ffff ffff  
0000 010d ffff ffff  
0000 001d ffff ffff  
0001 110d ffff ffff  
Z
None  
Z
Move p to f  
Move WREG to f  
None  
f
Multiply WREG with f  
Negate WREG  
None  
9
f,s  
f,d  
f,d  
f,d  
f,d  
f,s  
f,d  
f,d  
f,d  
OV,C,DC,Z 1,3  
No Operation  
None  
C
RLCF  
Rotate left f through Carry  
Rotate left f (no carry)  
Rotate right f through Carry  
Rotate right f (no carry)  
Set f  
RLNCF  
RRCF  
None  
C
RRNCF  
SETF  
None  
None  
OV,C,DC,Z  
OV,C,DC,Z  
None  
3
1
1
SUBWF  
SUBWFB  
SWAPF  
TABLRD  
Subtract WREG from f  
Subtract WREG from f with Borrow  
Swap f  
t,i,f Table Read  
2 (3) 1010 10ti ffff ffff  
None  
7
Legend: Refer to Table 15-1 for opcode field descriptions.  
Note 1: 2’s Complement method.  
2: Unsigned arithmetic.  
3: If s = '1', only the file is affected: If s = '0', both the WREG register and the file are affected; If only the Working  
register (WREG) is required to be affected, then f = WREG must be specified.  
4: During an LCALL, the contents of PCLATH are loaded into the MSB of the PC andkkkk kkkkis loaded into  
the LSB of the PC (PCL)  
5: Multiple cycle instruction for EPROM programming when table pointer selects internal EPROM. The instruc-  
tion is terminated by an interrupt event. When writing to external program memory, it is a two-cycle instruc-  
tion.  
6: Two-cycle instruction when condition is true, else single cycle instruction.  
7: Two-cycle instruction except for TABLRDto PCL (program counter low byte) in which case it takes 3 cycles.  
8: A “skip” means that instruction fetched during execution of current instruction is not executed, instead an  
NOP is executed.  
9: These instructions are not available on the PIC17C42.  
DS30412C-page 110  
1996 Microchip Technology Inc.  
 复制成功!