PIC18LF43K22-I/ML Microchip Technology Inc., PIC18LF43K22-I/ML Datasheet - Page 374

no-image

PIC18LF43K22-I/ML

Manufacturer Part Number
PIC18LF43K22-I/ML
Description
8KB, FLASH, 3968BYTES-RAM, 8-BIT FAMILY, NANOWATT XLP, 44 QFN 8X8X0.9MM TUBE
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC18LF43K22-I/ML

A/d Inputs
28-Channel, 10-Bit
Comparators
2
Cpu Speed
16 MIPS
Eeprom Memory
0 Bytes
Input Output
35
Interface
I2C/SPI/UART/USART
Memory Type
Flash
Number Of Bits
8
Package Type
40-pin QFN
Programmable Memory
8K Bytes
Ram Size
512 Bytes
Speed
48 MHz
Temperature Range
–40 to 125 °C
Timers
1-8-bit, 3-16-bit
Voltage, Range
1.8-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
PIC18(L)F2X/4XK22
ADDWFC
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
DS41412D-page 374
Q Cycle Activity:
Before Instruction
After Instruction
Decode
CARRY bit =
REG
W
CARRY bit =
REG
W
Q1
register ‘f’
=
=
=
=
ADD W and CARRY bit to f
ADDWFC
0  f  255
d [0,1]
a [0,1]
(W) + (f) + (C)  dest
N,OV, C, DC, Z
Add W, the CARRY flag and data mem-
ory location ‘f’. If ‘d’ is ‘0’, the result is
placed in W. If ‘d’ is ‘1’, the result is
placed in data memory location ‘f’.
If ‘a’ is ‘0’, the Access Bank is selected.
If ‘a’ is ‘1’, the BSR is used to select the
GPR bank.
If ‘a’ is ‘0’ and the extended instruction
set is enabled, this instruction operates
in Indexed Literal Offset Addressing
mode whenever f 95 (5Fh). See
Section 25.2.3 “Byte-Oriented and
Bit-Oriented Instructions in Indexed
Literal Offset Mode”
1
1
ADDWFC
Read
0010
Q2
1
02h
4Dh
0
02h
50h
00da
REG, 0, 1
f {,d {,a}}
Process
Data
Q3
ffff
for details.
destination
Write to
Q4
ffff
Preliminary
ANDLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
Q Cycle Activity:
Before Instruction
After Instruction
Decode
W
W
Q1
=
=
Read literal
AND literal with W
ANDLW
0  k  255
(W) .AND. k  W
N, Z
The contents of W are AND’ed with the
8-bit literal ‘k’. The result is placed in W.
1
1
ANDLW
0000
Q2
‘k’
A3h
03h
 2010 Microchip Technology Inc.
k
1011
05Fh
Process
Data
Q3
kkkk
Write to W
Q4
kkkk

Related parts for PIC18LF43K22-I/ML