PIC16C432-I/SS Microchip Technology, PIC16C432-I/SS Datasheet - Page 71

IC MCU CMOS 8BIT 20MHZ 2K 20SSOP

PIC16C432-I/SS

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

Specifications of PIC16C432-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
Contains lead / RoHS non-compliant
Eeprom Size
-
Data Converters
-
OPTION
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
RETFIE
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
2002 Microchip Technology Inc.
Load Option Register
[ label ]
None
(W)
None
00
The contents of the W register are
loaded in the OPTION register. This
instruction is supported for code
compatibility with PIC16C5X prod-
ucts. Since OPTION is a readable/
writable register, the user can
directly address it.
1
1
To maintain upward compatibil-
ity with future PICmicro
ucts, do not use this instruction.
Return from Interrupt
[ label ]
None
TOS
1
None
00
Return from Interrupt. Stack is
POPed and Top-of-Stack (TOS) is
loaded in the PC. Interrupts are
enabled by setting Global Inter-
rupt Enable bit, GIE
(INTCON<7>). This is a two-cycle
instruction.
1
2
RETFIE
After Interrupt
GIE
OPTION
PC,
OPTION
0000
PC = TOS
GIE = 1
RETFIE
0000
0110
0000
®
prod-
0010
1001
Preliminary
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
TABLE
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Return with Literal in W
[ label ]
0
k
TOS
None
11
The W register is loaded with the
eight bit literal ’k’. The program
counter is loaded from the top of
the stack (the return address).
This is a two-cycle instruction.
1
2
CALL TABLE ;W contains table
value
ADDWF PC
RETLW k1
RETLW k2
RETLW kn
Before Instruction
After Instruction
Return from Subroutine
[ label ]
None
TOS
None
00
Return from subroutine. The stack
is POPed and the top of the stack
(TOS) is loaded into the program
counter. This is a two-cycle
instruction.
1
2
RETURN
After Interrupt
k
(W);
PIC16C432
PC = TOS
255
PC
W = 0x07
W = value of k8
PC
RETLW k
01xx
RETURN
0000
;offset value
;W now has table
;W = offset
;Begin table
;
; End of table
DS41140B-page 69
kkkk
0000
kkkk
1000

Related parts for PIC16C432-I/SS