PIC16C432-E/P Microchip Technology, PIC16C432-E/P Datasheet - Page 66

IC MCU CMOS 8-BIT 20MHZ 2K 20DIP

PIC16C432-E/P

Manufacturer Part Number
PIC16C432-E/P
Description
IC MCU CMOS 8-BIT 20MHZ 2K 20DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C432-E/P

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
LIN (Local Interconnect Network)
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
12
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
20-DIP (0.300", 7.62mm)
For Use With
AC164029 - MODULE SKT PROMATEII 20DIP/SSOPDVA16XP201 - ADAPTER DEVICE FOR MPLAB-ICE
Lead Free Status / RoHS Status
Request inventory verification / Request inventory verification
Eeprom Size
-
Data Converters
-
PIC16C432
DS41140B-page 64
BTFSS
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Bit Test f, Skip if Set
[ label ] BTFSS f,b
0
0
skip if (f<b>) = 1
None
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.
1
1
HERE
FALSE
TRUE
Before Instruction
After Instruction
(2)
01
f
b < 7
127
PC = address HERE
if FLAG<1> = 0,
PC = address FALSE
if FLAG<1> = 1,
PC = address TRUE
BTFSS
GOTO
11bb
FLAG,1
PROCESS_CODE
bfff
ffff
Preliminary
CALL
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
CLRF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Call Subroutine
[ label ] CALL k
0
(PC) + 1
k
(PCLATH<4:3>)
None
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.
1
2
HERE
Before Instruction
After Instruction
Clear f
[ label ] CLRF
0
00h
1
Z
The contents of register ’f’ are
cleared and the Z bit is set.
1
1
CLRF
Before Instruction
After Instruction
10
00
k
f
PC<10:0>,
Z
2002 Microchip Technology Inc.
127
(f)
2047
FLAG_REG = 0x5A
FLAG_REG = 0x00
Z = 1
CALL
FLAG_REG
0kkk
0001
PC = Address HERE
PC = Address THERE
TOS = Address HERE+1
TOS,
f
THERE
1fff
PC<12:11>
kkkk
ffff
kkkk

Related parts for PIC16C432-E/P