PIC16F648A-I/ML Microchip Technology, PIC16F648A-I/ML Datasheet - Page 119

IC MCU FLASH 4KX14 EEPROM 28QFN

PIC16F648A-I/ML

Manufacturer Part Number
PIC16F648A-I/ML
Description
IC MCU FLASH 4KX14 EEPROM 28QFN
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F648A-I/ML

Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Oscillator Type
Internal
Core Processor
PIC
Speed
20MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Operating Temperature
-40°C ~ 85°C
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
Controller Family/series
PIC16F
No. Of I/o's
16
Eeprom Memory Size
256Byte
Ram Memory Size
256Byte
Cpu Speed
20MHz
No.
RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164324 - MODULE SKT FOR MPLAB 8DFN/16QFNXLT28QFN3 - SOCKET TRAN ICE 18DIP/28QFNI3DBF648 - BOARD DAUGHTER ICEPIC3AC164033 - ADAPTER 28QFN TO 18DIPDV007003 - PROGRAMMER UNIVERSAL PROMATE II
Data Converters
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
15.2
© 2005 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
0,1
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
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
0,1
127
255
W = 0xA3
W = 0x03
W
REG1 = 0xC2
W
REG1 = 0x02
1001
0x5F
0101
REG1, 1
DS40044D-page 117
= 0x17
= 0x17
(dest)
(W)
kkkk
dfff
k
f,d
kkkk
ffff

Related parts for PIC16F648A-I/ML