PIC16F627A/628A/648A
DS40044G-page 118
2009 Microchip Technology Inc.
TABLE 15-2:
PIC16F627A/628A/648A INSTRUCTION SET
Mnemonic,
Operands
Description
Cycles
14-Bit Opcode
Status
Affected
Notes
MSb
LSb
BYTE-ORIENTED FILE REGISTER OPERATIONS
ADDWF
ANDWF
CLRF
CLRW
COMF
DECF
DECFSZ
INCF
INCFSZ
IORWF
MOVF
MOVWF
NOP
RLF
RRF
SUBWF
SWAPF
XORWF
f, d
f
f, d
f
f, d
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 nibbles in f
Exclusive OR W with f
1
1(2)
1
1(2)
1
00
0111
0101
0001
1001
0011
1011
1010
1111
0100
1000
0000
1101
1100
0010
1110
0110
dfff
lfff
0xxx
dfff
lfff
0xx0
dfff
ffff
xxxx
ffff
0000
ffff
C,DC,Z
Z
C
C,DC,Z
Z
1, 2
2
1, 2
1, 2, 3
1, 2
1, 2, 3
1, 2
BIT-ORIENTED FILE REGISTER OPERATIONS
BCF
BSF
BTFSC
BTFSS
f, b
Bit Clear f
Bit Set f
Bit Test f, Skip if Clear
Bit Test f, Skip if Set
1
1(2)
01
00bb
01bb
10bb
11bb
bfff
ffff
1, 2
3
LITERAL AND CONTROL OPERATIONS
ADDLW
ANDLW
CALL
CLRWDT
GOTO
IORLW
MOVLW
RETFIE
RETLW
RETURN
SLEEP
SUBLW
XORLW
k
k
k
k
Add literal and W
AND literal with W
Call subroutine
Clear Watchdog Timer
Go to address
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
1
2
1
2
1
2
1
11
10
00
10
11
00
11
00
11
111x
1001
0kkk
0000
1kkk
1000
00xx
0000
01xx
0000
110x
1010
kkkk
0110
kkkk
0000
kkkk
0000
0110
kkkk
0100
kkkk
1001
kkkk
1000
0011
kkkk
C,DC,Z
Z
TO,PD
Z
TO,PD
C,DC,Z
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.
相关PDF资料
PIC18F24K22-I/SO IC PIC MCU 16KB FLASH 28SOIC
PIC18F23K22-I/SP IC PIC MCU 8KB FLASH 28SPDIP
PIC18LF23K22-I/SP IC PIC MCU 8KB FLASH 28SPDIP
PIC24F08KA102-I/SS IC PIC MCU FLASH 8K 28-SSOP
PIC16C58B-20/SO IC MCU OTP 2KX12 18SOIC
PIC12C672-04/SM IC MCU OTP 2KX14 A/D 8-SOIJ
PIC18F25K20-E/SS IC PIC MCU FLASH 16KX16 28-SSOP
PIC18F25J10T-I/SO IC PIC MCU FLASH 16KX16 28SOIC
相关代理商/技术参数
PIC16F628A-I/P 制造商:Microchip Technology Inc 功能描述:IC 8BIT FLASH MCU 16F628 DIP18
PIC16F628A-I/SO 功能描述:8位微控制器 -MCU 3.5KB 224 RAM 16 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
PIC16F628A-I/SO 制造商:Microchip Technology Inc 功能描述:8BIT FLASH MCU SMD 16F628 SOIC18
PIC16F628A-I/SOG 制造商:Microchip Technology 功能描述:MCU 8-Bit PIC16 PIC RISC 3.5KB Flash 3.3V/5V 18-Pin SOIC W Tube
PIC16F628A-I/SS 功能描述:8位微控制器 -MCU 3.5KB 224 RAM 16 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
PIC16F628A-I/SS 制造商:Microchip Technology Inc 功能描述:8BIT FLASH MCU SMD 16F628 SSOP20
PIC16F628AT-E/ML 功能描述:8位微控制器 -MCU 28LD 20MHz 2K FLASH 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
PIC16F628AT-E/SO 功能描述:8位微控制器 -MCU 18LD 20MHz 2K FLASH 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