2003 Microchip Technology Inc.
Preliminary
DS40300C-page 111
PIC16F62X
BTFSS
Bit Test f, Skip if Set
Syntax:
[ label ] BTFSS f,b
Operands:
0
≤ f ≤ 127
0
≤ b < 7
Operation:
skip if (f<b>) = 1
Status Affected:
None
Encoding:
01
11bb
bfff
ffff
Description:
If bit 'b' in register 'f' is '1' then the
next instruction is skipped.
If bit 'b' is '1', then the next
instruction fetched during the
current instruction execution, is
discarded and a NOP is executed
instead, making this a two-cycle
instruction.
Words:
1
Cycles:
1(2)
Example
HERE
FALSE
TRUE
BTFSS
GOTO
REG1
PROCESS_CODE
Before Instruction
PC = address HERE
After Instruction
if FLAG<1> = 0,
PC =
address FALSE
if FLAG<1> = 1,
PC =
address TRUE
CALL
Call Subroutine
Syntax:
[ label ] CALL k
Operands:
0
≤ k ≤ 2047
Operation:
(PC)+ 1
→ TOS,
k
→ PC<10:0>,
(PCLATH<4:3>)
→ PC<12:11>
Status Affected:
None
Encoding:
10
0kkk
kkkk
Description:
Call Subroutine. First, return
address (PC+1) is pushed onto
the stack. The eleven bit
immediate address is loaded
into PC bits <10:0>. The upper
bits of the PC are loaded from
PCLATH. CALL is a two-cycle
instruction.
Words:
1
Cycles:
2
Example
HERE
CALL
THERE
Before Instruction
PC
=
Address HERE
After Instruction
PC
=
Address THERE
TOS =
Address HERE+1
CLRF
Clear f
Syntax:
[ label ] CLRF
f
Operands:
0
≤ f ≤ 127
Operation:
00h
→ (f)
1
→ Z
Status Affected:
Z
Encoding:
00
0001
1fff
ffff
Description:
The contents of register 'f' are
cleared and the Z bit is set.
Words:
1
Cycles:
1
Example
CLRF
REG1
Before Instruction
REG1
=
0x5A
After Instruction
REG1
=
0x00
Z=
1
相关PDF资料
AT97SC3204-X1A50-1 CRYPTO TPM LPC 3.0-3.6V 28TSSOP
ATA6620N-TAQY TXRX LIN BUS W/VREG SO-8
ATA6661-TAQJ 19 TXRX LIN 2.0 3.3V/5V 8SOIC
ATA6670-FFQW IC TXRX LIN DUAL 14VDFN
ATAM893T-TKSYD IC MCU FLASH 4K MTP 20SSOP
ATF1500ABV-15JI IC CPLD 15NS LOW VOLT PLCC
ATF1500AL-20JI IC CPLD 20NS LOW POW 44PLCC
ATF1502ASV-15JI44 IC CPLD EE HP 15NS 44-PLCC
相关代理商/技术参数
AT91SAM9XE-EK 功能描述:开发板和工具包 - ARM Eval Kit for SAM9XE Series RoHS:否 制造商:Arduino 产品:Development Boards 工具用于评估:ATSAM3X8EA-AU 核心:ARM Cortex M3 接口类型:DAC, ICSP, JTAG, UART, USB 工作电源电压:3.3 V
AT91SAM-ICE 功能描述:仿真器/模拟器 JTAG emulator AT91 ARM7/ARM9 RoHS:否 制造商:Blackhawk 产品:System Trace Emulators 工具用于评估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2
AT91SAMS64-AI 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:AT91 ARM㈢ Thumb㈢-based Microcontrollers
AT91SC192192CT-USB 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:32-bit Secure Microcontrollers
AT91SC25672RC 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:32-bit Secure Microcontroller for Smart Cards
AT91SC321RC-MQC-AM2 功能描述:ARM微控制器 - MCU For Secure Trnsactns in Smart Crd/PC Apps RoHS:否 制造商:STMicroelectronics 核心:ARM Cortex M4F 处理器系列:STM32F373xx 数据总线宽度:32 bit 最大时钟频率:72 MHz 程序存储器大小:256 KB 数据 RAM 大小:32 KB 片上 ADC:Yes 工作电源电压:1.65 V to 3.6 V, 2 V to 3.6 V, 2.2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:LQFP-48 安装风格:SMD/SMT
AT91SC321RC-MQC-AM5 功能描述:ARM微控制器 - MCU For Secure Trnsactns in Smart Crd/PC Apps RoHS:否 制造商:STMicroelectronics 核心:ARM Cortex M4F 处理器系列:STM32F373xx 数据总线宽度:32 bit 最大时钟频率:72 MHz 程序存储器大小:256 KB 数据 RAM 大小:32 KB 片上 ADC:Yes 工作电源电压:1.65 V to 3.6 V, 2 V to 3.6 V, 2.2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:LQFP-48 安装风格:SMD/SMT
AT91SC321RC-MQC-AM7 功能描述:ARM微控制器 - MCU For Secure Trnsactns in Smart Crd/PC Apps RoHS:否 制造商:STMicroelectronics 核心:ARM Cortex M4F 处理器系列:STM32F373xx 数据总线宽度:32 bit 最大时钟频率:72 MHz 程序存储器大小:256 KB 数据 RAM 大小:32 KB 片上 ADC:Yes 工作电源电压:1.65 V to 3.6 V, 2 V to 3.6 V, 2.2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:LQFP-48 安装风格:SMD/SMT