PIC16C73A-04/SP Microchip Technology Inc., PIC16C73A-04/SP Datasheet - Page 150

no-image

PIC16C73A-04/SP

Manufacturer Part Number
PIC16C73A-04/SP
Description
28 PIN, 7 KB OTP, 192 RAM, 22 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16C73A-04/SP

A/d Inputs
5-Channel, 8-Bit
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Input Output
22
Interface
I2C/SPI/USART
Memory Type
OTP
Number Of Bits
8
Package Type
28-pin SPDIP
Programmable Memory
7K Bytes
Ram Size
192 Bytes
Speed
4 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2.5-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
PIC16C7X
BCF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
BSF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
DS30390E-page 150
Bit Clear f
[ label ] BCF
0
0
0
None
Bit 'b' in register 'f' is cleared
1
1
Before Instruction
After Instruction
Bit Set f
[ label ] BSF
0
0
1
None
Bit 'b' in register 'f' is set.
1
1
Before Instruction
After Instruction
Decode
BCF
Decode
BSF
Q1
Q1
01
01
f
b
f
b
(f<b>)
(f<b>)
127
127
7
7
FLAG_REG = 0xC7
FLAG_REG = 0x47
FLAG_REG = 0x0A
FLAG_REG = 0x8A
register
register
00bb
01bb
FLAG_REG,
Read
FLAG_REG, 7
Read
Q2
Q2
'f'
'f'
f,b
f,b
Process
Process
bfff
bfff
data
data
Q3
Q3
.
7
register 'f'
register 'f'
ffff
ffff
Write
Write
Q4
Q4
BTFSC
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
If Skip:
Bit Test, Skip if Clear
[ label ] BTFSC f,b
0
0
skip if (f<b>) = 0
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
instruction
1
1(2)
Before Instruction
After Instruction
None
(2nd Cycle)
Operation
HERE
FALSE
TRUE
Decode
01
Q1
Q1
No-
f
b
1997 Microchip Technology Inc.
127
7
.
PC =
if FLAG<1> = 0,
PC =
if FLAG<1>=1,
PC =
register 'f'
Operation
10bb
BTFSC
GOTO
Read
Q2
Q2
No-
address HERE
address TRUE
address FALSE
FLAG,1
PROCESS_CODE
Operation
Process
bfff
data
Q3
No-
Q3
Operation
Operation
ffff
CY
Q4
Q4
No-
No-

Related parts for PIC16C73A-04/SP