1996 Microchip Technology Inc.
DS30412C-page 115
PIC17C4X
BSF
Bit Set f
Syntax:
[
label ] BSF
f,b
Operands:
0
≤ f ≤ 255
0
≤ b ≤ 7
Operation:
1
→ (f<b>)
Status Affected:
None
Encoding:
1000
0bbb
ffff
Description:
Bit 'b' in register 'f' is set.
Words:
1
Cycles:
1
Q Cycle Activity:
Q1
Q2
Q3
Q4
Decode
Read
register 'f'
Execute
Write
register 'f'
Example:
BSF
FLAG_REG, 7
Before Instruction
FLAG_REG= 0x0A
After Instruction
FLAG_REG= 0x8A
BTFSC
Bit Test, skip if Clear
Syntax:
[
label ] BTFSC f,b
Operands:
0
≤ f ≤ 255
0
≤ b ≤ 7
Operation:
skip if (f<b>) = 0
Status Affected:
None
Encoding:
1001
1bbb
ffff
Description:
If bit 'b' in register ’f' is 0 then the next
instruction is skipped.
If bit 'b' is 0 then the next instruction
fetched during the current instruction exe-
cution is discarded, and a NOP is exe-
cuted instead, making this a two-cycle
instruction.
Words:
1
Cycles:
1(2)
Q Cycle Activity:
Q1
Q2
Q3
Q4
Decode
Read
register 'f'
Execute
NOP
If skip:
Q1
Q2
Q3
Q4
Forced NOP
NOP
Execute
NOP
Example:
HERE
FALSE
TRUE
BTFSC
:
FLAG,1
Before Instruction
PC
=
address (HERE)
After Instruction
If FLAG<1>
=
0;
PC
=
address (TRUE)
If FLAG<1>
=
1;
PC
=
address (FALSE)
相关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