1996 Microchip Technology Inc.
DS30412C-page 111
PIC17C4X
TABLWT
t,i,f
Table Write
2
1010 11ti
ffff
None
5
TLRD
t,f
Table Latch Read
1
1010 00tx
ffff
None
TLWT
t,f
Table Latch Write
1
1010 01tx
ffff
None
TSTFSZ
f
Test f, skip if 0
1 (2)
0011 0011
ffff
None
6,8
XORWF
f,d
Exclusive OR WREG with f
1
0000 110d
ffff
Z
BIT-ORIENTED FILE REGISTER OPERATIONS
BCF
f,b
Bit Clear f
1
1000 1bbb
ffff
None
BSF
f,b
Bit Set f
1
1000 0bbb
ffff
None
BTFSC
f,b
Bit test, skip if clear
1 (2)
1001 1bbb
ffff
None
6,8
BTFSS
f,b
Bit test, skip if set
1 (2)
1001 0bbb
ffff
None
6,8
BTG
f,b
Bit Toggle f
1
0011 1bbb
ffff
None
LITERAL AND CONTROL OPERATIONS
ADDLW
k
ADD literal to WREG
1
1011 0001
kkkk
OV,C,DC,Z
ANDLW
k
AND literal with WREG
1
1011 0101
kkkk
Z
CALL
k
Subroutine Call
2
111k kkkk
kkkk
None
7
CLRWDT
Clear Watchdog Timer
1
0000 0000
0000
0100
TO,PD
GOTO
k
Unconditional Branch
2
110k kkkk
kkkk
None
7
IORLW
k
Inclusive OR literal with WREG
1
1011 0011
kkkk
Z
LCALL
k
Long Call
2
1011 0111
kkkk
None
4,7
MOVLB
k
Move literal to low nibble in BSR
1
1011 1000
uuuu
kkkk
None
MOVLR
k
Move literal to high nibble in BSR
1
1011 101x
kkkk
uuuu
None
9
MOVLW
k
Move literal to WREG
1
1011 0000
kkkk
None
MULLW
k
Multiply literal with WREG
1
1011 1100
kkkk
None
9
RETFIE
Return from interrupt (and enable interrupts)
2
0000 0000
0000
0101
GLINTD
7
RETLW
k
Return literal to WREG
2
1011 0110
kkkk
None
7
RETURN
Return from subroutine
2
0000 0000
0000
0010
None
7
SLEEP
Enter SLEEP Mode
1
0000 0000
0000
0011
TO, PD
SUBLW
k
Subtract WREG from literal
1
1011 0010
kkkk
OV,C,DC,Z
XORLW
k
Exclusive OR literal with WREG
1
1011 0100
kkkk
Z
TABLE 15-2:
PIC17CXX INSTRUCTION SET (Cont.’d)
Mnemonic,
Operands
Description
Cycles
16-bit Opcode
Status
Affected
Notes
MSb
LSb
Legend: Refer to Table 15-1 for opcode eld descriptions.
Note 1: 2’s Complement method.
2: Unsigned arithmetic.
3: If s = '1', only the le is affected: If s = '0', both the WREG register and the le are affected; If only the Working
register (WREG) is required to be affected, then f = WREG must be specied.
4: During an LCALL, the contents of PCLATH are loaded into the MSB of the PC and kkkk kkkk is 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 TABLRD to 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.
相关PDF资料
DSPIC30F2023-30I/ML IC DSPIC MCU/DSP 12K 44QFN
PIC16LF767-I/ML IC PIC MCU FLASH 8KX14 28QFN
PIC18LF2320-I/SO IC MCU FLASH 4KX16 EEPROM 28SOIC
PIC18F4458-I/ML IC PIC MCU FLASH 12KX16 44QFN
DSPIC33FJ64GP706A-I/PT IC DSPIC MCU/DSP 64K 64-TQFP
PIC16F874-20/P IC MCU FLASH 4KX14 EE 40DIP
DSPIC33FJ64GP706-I/PT IC DSPIC MCU/DSP 64K 64TQFP
PIC24HJ128GP210-I/PT IC PIC MCU FLASH 128KB 100TQFP
相关代理商/技术参数
PIC18F4525-I/P 功能描述:8位微控制器 -MCU 48KB 3968 RAM 36I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F4525-I/P 制造商:Microchip Technology Inc 功能描述:IC 8BIT FLASH MCU 18F4525 DIP40
PIC18F4525-I/PT 功能描述:8位微控制器 -MCU 48KB 3968 RAM 36I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F4525-I/PT 制造商:Microchip Technology Inc 功能描述:IC 8BIT FLASH MCU 18F4525 TQFP44
PIC18F4525T-I/ML 功能描述:8位微控制器 -MCU 48KB 3968 RAM 36I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F4525T-I/PT 功能描述:8位微控制器 -MCU 48KB 3968 RAM 36I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F452-BL 制造商:POWERLITE SYSTEMS 功能描述:BOOTLOADER PIC18F452 FOR FLASHLAB 制造商:POWERLITE SYSTEMS 功能描述:BOOTLOADER, PIC18F452, FOR FLASHLAB 制造商:POWERLITE SYSTEMS 功能描述:BOOTLOADER, PIC18F452, FOR FLASHLAB, Silicon Manufacturer:Powerlite Systems, Cor 制造商:POWERLITE SYSTEMS 功能描述:PIC18F452 W/ BOOTLOADER, FOR FLASHLAB, Silicon Manufacturer:Powerlite Systems, Core Architecture:PIC, Core Sub-Architecture:PIC18F, Kit Contents:Board , RoHS Compliant: Yes
PIC18F452-E/L 功能描述:8位微控制器 -MCU 32KB 1536 RAM 34I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT