PIC16C74-04/L Microchip Technology, PIC16C74-04/L Datasheet - Page 158

MICRO CTRL 4K 4MHZ OTP 44PLCC

PIC16C74-04/L

Manufacturer Part Number
PIC16C74-04/L
Description
MICRO CTRL 4K 4MHZ OTP 44PLCC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheet

Specifications of PIC16C74-04/L

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
33
Program Memory Size
7KB (4K x 14)
Program Memory Type
OTP
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Data Converters
A/D 8x8b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
44-PLCC
For Use With
DVA16XL441 - ADAPTER DEVICE ICE 44PLCC
Lead Free Status / RoHS Status
Request inventory verification / Request inventory verification
Eeprom Size
-
PIC16C7X
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
DS30390E-page 158
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
ADDWF PC
RETLW k1
RETLW k2
RETLW kn
Before Instruction
After Instruction
Operation
Decode
Q1
11
No-
k
(W);
255
PC
W
W
RETLW k
Operation
literal 'k'
;W = offset
;Begin table
;
; End of table
01xx
Read
;W contains table
;offset value
Q2
No-
;W now has table value
=
=
0x07
value of k8
Operation
Operation
kkkk
Q3
No-
No-
Write to W,
Operation
the Stack
Pop from
kkkk
Q4
No-
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
Operation
RETURN
Decode
Q1
00
No-
1997 Microchip Technology Inc.
PC
PC =
RETURN
Operation
Operation
0000
Q2
No-
No-
TOS
Operation
Operation
0000
Q3
No-
No-
Operation
the Stack
Pop from
1000
Q4
No-

Related parts for PIC16C74-04/L