PIC16C84-04/P Microchip Technology, PIC16C84-04/P Datasheet - Page 62

MICRO CTRL 1KX14 EPR EEPR 18DIP

PIC16C84-04/P

Manufacturer Part Number
PIC16C84-04/P
Description
MICRO CTRL 1KX14 EPR EEPR 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheet

Specifications of PIC16C84-04/P

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
13
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
EEPROM
Eeprom Size
64 x 8
Ram Size
36 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
18-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Request inventory verification / Request inventory verification
Data Converters
-
Connectivity
-
PIC16C84
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
DS30445C-page 62
2nd Cycle
1st Cycle
TABLE
Return with Literal in W
[ label ]
0
k
TOS
None
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
ADDWF PC
RETLW k1
RETLW k2
RETLW kn
Before Instruction
After Instruction
No-Operat
Decode
Q1
11
ion
k
(W);
255
PC
W
W
RETLW k
No-Opera
literal 'k'
01xx
;W = offset
;Begin table
;
; End of table
Read
;offset value
Q2
tion
;W now has table value
=
=
0x07
value of k8
No-Opera
No-Opera
kkkk
Q3
tion
tion
Write to W,
No-Operat
the Stack
Pop from
kkkk
Q4
ion
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
2nd Cycle
1st Cycle
Return from Subroutine
[ label ]
None
TOS
None
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
After Interrupt
No-Operat
RETURN
Decode
Q1
00
ion
1998 Microchip Technology Inc.
PC
PC =
RETURN
No-Opera
No-Opera
0000
Q2
tion
tion
TOS
No-Opera
No-Opera
0000
Q3
tion
tion
No-Opera
the Stack
Pop from
1000
Q4
tion

Related parts for PIC16C84-04/P