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资料
C8051F020R IC 8051 MCU 64K FLASH 100TQFP
C8051F016R IC 8051 MCU 32K FLASH 48TQFP
C8051F015R IC 8051 MCU 32K FLASH 64TQFP
C8051F017R IC 8051 MCU 32K FLASH 32LQFP
C8051F007R IC 8051 MCU 32K FLASH 32LQFP
C8051F221R IC 8051 MCU 8K FLASH 32LQFP
C8051F220R IC 8051 MCU 8K FLASH 48TQFP
C8051F012R IC 8051 MCU 32K FLASH 32LQFP
相关代理商/技术参数
PIC18F2620-I/SP 制造商:Microchip Technology Inc 功能描述:IC 8BIT FLASH MCU 18F2620 SDIL28
PIC18F2620T-I/SO 功能描述:8位微控制器 -MCU 64KB 3968 RAM 25 I/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
PIC18F2680-E/SO 功能描述:8位微控制器 -MCU 64KB 3328 RAM w/ECAN 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
PIC18F2680-E/SP 功能描述:8位微控制器 -MCU 64KB 3328 RAM w/ECAN 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
PIC18F2680-H/SO 功能描述:8位微控制器 -MCU 64 KB Flash 3328 RAM 25 I/O w/ECAN 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
PIC18F2680-H/SP 功能描述:8位微控制器 -MCU 64 KB Flash 3328 RAM 25 I/O w/ECAN 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
PIC18F2680-I/SO 功能描述:8位微控制器 -MCU 64KB 3328 RAM w/ECAN 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
PIC18F2680-I/SO 制造商:Microchip Technology Inc 功能描述:IC 8BIT FLASH MCU 18F2680 SOIC28