鈮?/div>
7
skip if (f<b>) = 0
None
01
10bb
bfff
ffff
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
execution is discarded, and a NOP is
executed instead, making this a 2 cycle
instruction
.
Before Instruction
After Instruction
FLAG_REG = 0x47
Words:
Cycles:
Example
1
1(2)
HERE
FALSE
TRUE
BTFSC
GOTO
鈥?/div>
鈥?/div>
鈥?/div>
PC =
FLAG,1
PROCESS_CODE
Before Instruction
address
HERE
After Instruction
if FLAG<1> = 0,
PC =
address
TRUE
if FLAG<1>=1,
PC =
address
FALSE
BSF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Bit Set f
[
label
] BSF
0
鈮?/div>
f
鈮?/div>
127
0
鈮?/div>
b
鈮?/div>
7
1
鈫?/div>
(f<b>)
None
01
01bb
bfff
ffff
Bit 'b' in register 'f' is set.
f,b
1
1
BSF
FLAG_REG,
7
Before Instruction
FLAG_REG = 0x0A
After Instruction
FLAG_REG = 0x8A
漏
1998 Microchip Technology Inc.
Preliminary
DS40181B-page 65
prev
next
PIC12CE674相关型号PDF文件下载
-
型号
版本
描述
厂商
下载
-
英文版
8-Pin FLASH-Based 8-Bit CMOS Microcontrollers
-
英文版
8-Pin, 8-Bit CMOS Microcontroller with EEPROM Data Memory
MICROCHIP ...
-
英文版
8-Pin, 8-Bit CMOS Microcontroller with A/D Converter and EEP...
MICROCHIP ...
-
英文版
8-Pin, 8-Bit CMOS Microcontrollers
MICROCHIP ...
-
英文版
EPROM Memory Programming Specification
MICROCHIP ...
-
英文版
8-Pin FLASH-Based 8-Bit CMOS Microcontrollers
MICROCHIP ...
-
英文版
Microcontroller
-
英文版
Microcontroller
-
英文版
Microcontroller
ETC
-
英文版
EPROM-Based 8-Bit CMOS Microcontroller
-
英文版
8-Pin, 8-Bit CMOS Microcontrollers
-
英文版
8-Pin, 8-Bit CMOS Microcontrollers
MICROCHIP ...
-
英文版
ETC
-
英文版
EPROM Memory Programming Specification
-
英文版
EPROM Memory Programming Specification
MICROCHIP ...
-
英文版
28-Pin Programmable Mixed Signal Controller
-
英文版
EPROM Memory Programming Specification
-
英文版
Microcontroller
ETC
-
英文版
Microcontroller
ETC
-
英文版
EPROM/ROM-Based 8-Bit CMOS Microcontroller Series