鈮?/div>
7
skip if (f<b>) = 0
None
01
10bb
bfff
ffff
If bit 'b' in register 'f' is '1' then the next
instruction is executed.
If bit 'b', in register 'f', is '0' then the next
instruction is discarded, and a NOP is
executed instead, making this a 2T
CY
instruction
.
Q2
Read
register
'f'
Q3
Process
data
Q4
Write
register 'f'
Words:
Cycles:
Q Cycle Activity:
1
1(2)
Q1
Decode
Example
BCF
FLAG_REG, 7
FLAG_REG = 0xC7
Q2
Read
register 'f'
Q3
Process
data
Q4
No-Operat
ion
Before Instruction
After Instruction
FLAG_REG = 0x47
If Skip:
(2nd Cycle)
Q1
Q2
No-Operat
ion
Q3
Q4
No-Operati No-Opera No-Operat
on
tion
ion
Example
HERE
FALSE
TRUE
BTFSC
GOTO
鈥?/div>
鈥?/div>
鈥?/div>
PC =
FLAG,1
PROCESS_CODE
Before Instruction
address
HERE
After Instruction
BSF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
1
1
Q1
Decode
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
if FLAG<1> = 0,
PC =
address
TRUE
if FLAG<1>=1,
PC =
address
FALSE
Q2
Read
register
'f'
Q3
Process
data
Q4
Write
register 'f'
Example
BSF
FLAG_REG,
7
Before Instruction
FLAG_REG = 0x0A
After Instruction
FLAG_REG = 0x8A
DS30430C-page 56
漏
1998 Microchip Technology Inc.
prev
next
PIC16CR83 PDF文件相关型号
PIC16CR84
PIC16CR83相关型号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