PIC16C433-I/P Microchip Technology, PIC16C433-I/P Datasheet - Page 24

IC MCU CMOS 8BIT 10MHZ 2K 18-DIP

PIC16C433-I/P

Manufacturer Part Number
PIC16C433-I/P
Description
IC MCU CMOS 8BIT 10MHZ 2K 18-DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C433-I/P

Core Processor
PIC
Core Size
8-Bit
Speed
10MHz
Connectivity
LIN (Local Interconnect Network)
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)
4.5 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
18-DIP (0.300", 7.62mm)
For Use With
DVA16XP185 - ADAPTER DEVICE ICE 18DIP/SOICAC164030 - MODULE SKT PROMATEII 28DIP/SOICDVA16XP140 - ADAPTER DEVICE FOR MPLAB-ICE
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
PIC16C433
4.3
The Program Counter (PC) is 13-bits wide. The low
byte comes from the PCL Register, which is a readable
and writable register. The high byte (PC<12:8>) is not
directly readable or writable and comes from PCLATH.
On any RESET, the PC is cleared. Figure 4-3 shows
the two situations for the loading of the PC. The upper
example in Figure 4-3 shows how the PC is loaded on
a write to PCL (PCLATH<4:0> → PCH). The lower
example in Figure 4-3 shows how the PC is loaded dur-
ing a CALL or GOTO instruction (PCLATH<4:3> →
PCH).
FIGURE 4-3:
4.3.1
A Computed GOTO is accomplished by adding an offset
to the program counter (ADDWF PCL). When doing a
table read using a computed GOTO method, care
should be exercised if the table location crosses a PCL
memory boundary (each 256 byte block). Refer to the
application note “Implementing a Table Read" (AN556).
DS41139B-page 22
PC
PC
12
12 11 10
2
PCL and PCLATH
COMPUTED GOTO
5
PCH
PCLATH<4:3>
PCH
PCLATH
PCLATH<4:0>
8
PCLATH
8
LOADING OF PC IN
DIFFERENT SITUATIONS
7
7
PCL
PCL
11
8
0
0
Instruction with
PCL as
Destination
ALU Result
GOTO, CALL
Opcode <10:0>
Preliminary
4.3.2
The PIC16C433 family has an 8-level deep x 13-bit
wide hardware stack. The stack space is not part of
either program or data space and the stack pointer is
not readable or writable. The PC is PUSHed onto the
stack when a CALL instruction is executed, or an inter-
rupt causes a branch. The stack is POPed in the event
of a RETURN, RETLW or a RETFIE instruction execu-
tion. PCLATH is not affected by a PUSH or POP oper-
ation.
The stack operates as a circular buffer. This means that
after the stack has been PUSHed eight times, the ninth
push overwrites the value that was stored from the first
push. The tenth push overwrites the second push (and
so on).
4.4
The
PCLATH<4:3>, which are used to access program
memory when more than one page is available. The
use of PCLATH<4:3> as general purpose read/write
bits for the PIC16C433 is not recommended, since this
may affect upward compatibility with future products.
Note 1: There are no status bits to indicate stack
PIC16C433
2: There are no instructions/mnemonics
STACK
Program Memory Paging
overflow or stack underflow conditions.
called PUSH or POP. These are actions
that occur from the execution of the
CALL, RETURN, RETLW, and RETFIE
instructions, or the vectoring to an inter-
rupt address.
ignores
 2002 Microchip Technology Inc.
both
paging
bits

Related parts for PIC16C433-I/P