P12C508 Microchip Technology, P12C508 Datasheet - Page 22

no-image

P12C508

Manufacturer Part Number
P12C508
Description
8-Pin / 8-Bit CMOS Microcontroller
Manufacturer
Microchip Technology
Datasheet
PIC12C5XX
FIGURE 6-2:
FIGURE 6-3:
TABLE 6-1:
DS40139A-page 22
Address
01h
N/A
N/A
Legend: Shaded cells not used by Timer0,
Instruction
Instruction
PC
(Program
Counter)
Fetch
Instruction
Execute
PC
(Program
Counter)
Fetch
Timer0
Timer0
Instruction
Executed
TMR0
OPTION GPWU GPPU T0CS T0SE PSA PS2 PS1 PS0 1111 1111 1111 1111
TRIS
Name
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
T0
T0
TIMER0 TIMING: INTERNAL CLOCK/NO PRESCALE
TIMER0 TIMING: INTERNAL CLOCK/PRESCALE 1:2
REGISTERS ASSOCIATED WITH TIMER0
PC-1
PC-1
Timer0 - 8-bit real-time clock/counter
I/O control registers
Bit 7
MOVWF TMR0
MOVWF TMR0
T0+1
PC
PC
Bit 6
T0+1
Bit 5
MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W
MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W
Write TMR0
executed
T0+2
Write TMR0
executed
Advance Information
PC+1
PC+1
-
= unimplemented, x = unknown, u = unchanged,
Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
NT0
Read TMR0
reads NT0
Read TMR0
reads NT0
PC+2
PC+2
Read TMR0
reads NT0
Read TMR0
reads NT0
NT0
PC+3
PC+3
NT0
Read TMR0
reads NT0
Read TMR0
reads NT0
NT0
xxxx xxxx uuuu uuuu uuuu uuuu
--11 1111 --11 1111 --11 1111
PC+4
PC+4
Power-On
Value on
Reset
MOVF TMR0,W
MOVF TMR0,W
1996 Microchip Technology Inc.
Read TMR0
reads NT0 + 1
Read TMR0
reads NT0
NT0+1
PC+5
PC+5
WDT Reset
MCLR and
Value on
Read TMR0
reads NT0 + 2
Read TMR0
reads NT0 + 1
NT0+2
NT0+1
PC+6
PC+6
Wake-up on
Pin Change
1111 1111
Value on
T0

Related parts for P12C508