PIC16C432T-I/SS Microchip Technology, PIC16C432T-I/SS Datasheet - Page 68

IC MCU CMOS 8BIT 20MHZ 2K 20SSOP

PIC16C432T-I/SS

Manufacturer Part Number
PIC16C432T-I/SS
Description
IC MCU CMOS 8BIT 20MHZ 2K 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C432T-I/SS

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 ~ 85°C
Package / Case
20-SSOP
For Use With
AC164029 - MODULE SKT PROMATEII 20DIP/SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
PIC16C432
DS41140B-page 66
DECFSZ
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
GOTO
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Decrement f, Skip if 0
[ label ] DECFSZ f,d
0
d
(f) - 1
None
The contents of register ’f’ are
decremented. If ’d’ is 0, the result is
placed in the W register. If ’d’ is 1,
the result is placed back in register
’f’.
If the result is 0, the next instruc-
tion, which is already fetched, is
discarded. A NOP is executed
instead making it a two-cycle
instruction.
1
1
HERE
CONTINUE •
Before Instruction
After Instruction
Unconditional Branch
[ label ]
0
k
PCLATH<4:3>
None
10
GOTO is an unconditional branch.
The eleven-bit immediate value is
loaded into PC bits <10:0>. The
upper bits of PC are loaded from
PCLATH<4:3>. GOTO is a two-
cycle instruction.
1
2
GOTO THERE
After Instruction
PC = Address THERE
(2)
00
f
k
[0,1]
PC<10:0>
127
2047
PC = address HERE
CNT = CNT - 1
if CNT = 0,
PC = address CONTINUE
if CNT¼ 0,
PC = address HERE+1
(dest);
GOTO k
1kkk
1011
DECFSZ
GOTO
PC<12:11>
skip if result = 0
kkkk
dfff
CNT, 1
LOOP
kkkk
ffff
Preliminary
INCF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Increment f
[ label ]
0
d
(f) + 1
Z
00
The contents of register 'f' are
incremented. If 'd' is 0, the result is
placed in the W register. If 'd' is 1,
the result is placed back in regis-
ter 'f'.
1
1
INCF
Before Instruction
After Instruction
f
[0,1]
2002 Microchip Technology Inc.
127
CNT = 0xFF
Z = 0
CNT = 0x00
Z = 1
(dest)
INCF f,d
1010
CNT,
dfff
1
ffff

Related parts for PIC16C432T-I/SS