PIC16LF628A-I/P Microchip Technology, PIC16LF628A-I/P Datasheet - Page 115

IC MCU FLASH 2KX14 EEPROM 18DIP

PIC16LF628A-I/P

Manufacturer Part Number
PIC16LF628A-I/P
Description
IC MCU FLASH 2KX14 EEPROM 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16LF628A-I/P

Program Memory Type
FLASH
Program Memory Size
3.5KB (2K x 14)
Package / Case
18-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Eeprom Size
128 x 8
Ram Size
224 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
224 B
Interface Type
SCI, USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
16
Number Of Timers
1 x 16 bit
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163014, DM164120-4
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
15.1
 2004 Microchip Technology Inc.
ADDLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
ADDWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Instruction Descriptions
Add Literal and W
[ label ] ADDLW
0
(W) + k
C, DC, Z
11
The contents of the W register are
added to the eight bit literal ‘k’ and
the result is placed in the W register
1
1
ADDLW
Before Instruction
After Instruction
Add W and f
[ label ] ADDWF
0
d
(W) + (f)
C, DC, Z
00
Add the contents of the W register
with register ‘f’. If ‘d’ is 0 the result is
stored in the W register. If ‘d’ is 1 the
result is stored back in register ‘f’
1
1
ADDWF
Before Instruction
After Instruction
k
f
W = 0x10
W = 0x25
W
REG1 = 0xC2
W
REG1 = 0xC2
Z
C
DC
127
255
111x
0x15
0111
REG1, 0
(W)
(dest)
= 0x17
= 0xD9
= 0
= 0
= 0
kkkk
dfff
k
f,d
kkkk
ffff
.
Preliminary
.
PIC16F627A/628A/648A
ANDLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
ANDWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
AND Literal with W
[ label ] ANDLW
0
(W) .AND. (k)
Z
11
The contents of W register are
AND’ed with the eight bit literal ‘k’.
The result is placed in the W
register
1
1
ANDLW
Before Instruction
After Instruction
AND W with f
[ label ] ANDWF
0
d
(W) .AND. (f)
Z
00
AND the W register with register ‘f’.
If ‘d’ is 0 the result is stored in the W
register. If ‘d’ is 1 the result is stored
back in register ‘f’
1
1
ANDWF
Before Instruction
After Instruction
k
f
.
127
255
W = 0xA3
W = 0x03
W
REG1 = 0xC2
W
REG1 = 0x02
1001
0x5F
0101
REG1, 1
DS40044B-page 113
= 0x17
= 0x17
.
(dest)
(W)
kkkk
dfff
k
f,d
kkkk
ffff

Related parts for PIC16LF628A-I/P