PIC12C672-04E/P Microchip Technology, PIC12C672-04E/P Datasheet - Page 108

no-image

PIC12C672-04E/P

Manufacturer Part Number
PIC12C672-04E/P
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,8PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 12Cr
Datasheets

Specifications of PIC12C672-04E/P

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
8-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PICmicro MID-RANGE MCU FAMILY
6.4
DS31006A-page 6-14
Initialization
Example 6-3
shows some code to do initialization (clearing) of General Purpose RAM.
Example 6-3: Bank Switching
CLRF
:
BSF
:
BCF
:
MOVLW
XORWF
:
BCF
:
BCF
shows how the bank switching occurs for Direct addressing, while
STATUS
STATUS, RP0
STATUS, RP0
0x60
STATUS, F
STATUS, RP0
STATUS, RP1
; Clear STATUS register (Bank0)
;
; Bank1
;
; Bank0
;
; Set RP0 and RP1 in STATUS register, other
;
;
; Bank2
;
; Bank0
bits unchanged (Bank3)
1997 Microchip Technology Inc.
Example 6-4

Related parts for PIC12C672-04E/P