English
Language : 

PIC16F8X_13 Datasheet, PDF (8/128 Pages) Microchip Technology – 18-pin Flash/EEPROM 8-Bit Microcontrollers
PIC16F8X
PIC16CXX devices contain an 8-bit ALU and working
register. The ALU is a general purpose arithmetic unit.
It performs arithmetic and Boolean functions between
data in the working register and any register file.
The ALU is 8-bits wide and capable of addition,
subtraction, shift and logical operations. Unless
otherwise mentioned, arithmetic operations are two's
complement in nature. In two-operand instructions,
typically one operand is the working register
(W register), and the other operand is a file register or
an immediate constant. In single operand instructions,
the operand is either the W register or a file register.
The W register is an 8-bit working register used for ALU
operations. It is not an addressable register.
Depending on the instruction executed, the ALU may
affect the values of the Carry (C), Digit Carry (DC), and
Zero (Z) bits in the STATUS register. The C and DC bits
operate as a borrow and digit borrow out bit,
respectively, in subtraction. See the SUBLW and SUBWF
instructions for examples.
A simplified block diagram for the PIC16F8X is shown
in Figure 3-1, its corresponding pin description is
shown in Table 3-1.
FIGURE 3-1: PIC16F8X BLOCK DIAGRAM
Flash/ROM
Program
Memory
PIC16F83/CR83
512 x 14
PIC16F84/CR84
1K x 14
Program
Bus 14
Instruction reg
13
Program Counter
8 Level Stack
(13-bit)
5
Direct Addr
Data Bus 8
RAM
File Registers
PIC16F83/CR83
36 x 8
PIC16F84/CR84
68 x 8
7 RAM Addr
Addr Mux
7 Indirect
Addr
FSR reg
STATUS reg
8
EEPROM Data Memory
EEDATA
EEPROM
Data Memory
64 x 8
TMR0
EEADR
RA4/T0CKI
Instruction
Decode &
Control
Timing
Generation
Power-up
Timer
Oscillator
Start-up Timer
Power-on
Reset
Watchdog
Timer
MUX
ALU
W reg
8
I/O Ports
RA3:RA0
RB7:RB1
RB0/INT
OSC2/CLKOUT
OSC1/CLKIN
MCLR VDD, VSS
DS30430D-page 8
 1996-2013 Microchip Technology Inc.