PIC16C558-04/SO Microchip Technology, PIC16C558-04/SO Datasheet - Page 57

IC MCU OTP 2KX14 18SOIC

PIC16C558-04/SO

Manufacturer Part Number
PIC16C558-04/SO
Description
IC MCU OTP 2KX14 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C558-04/SO

Core Size
8-Bit
Program Memory Size
3.5KB (2K x 14)
Core Processor
PIC
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
13
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
18-SOIC (7.5mm Width)
Controller Family/series
PIC16C
No. Of I/o's
13
Ram Memory Size
128Byte
Cpu Speed
4MHz
No. Of Timers
1
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT18SO-1 - SOCKET TRANSITION 18SOIC 300MILISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMING309-1075 - ADAPTER 18-SOIC TO 18-SOIC309-1024 - ADAPTER 28-SOIC TO 28-DIP309-1011 - ADAPTER 18-SOIC TO 18-DIP309-1010 - ADAPTER 18-SOIC TO 18-DIPAC164010 - MODULE SKT PROMATEII DIP/SOIC
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
8.1
 2002 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
The contents of the W register are
added to the eight bit literal 'k' and the
result is placed in the W register.
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'.
Add Literal and W
[ label ] ADDLW
0 ≤ k ≤ 255
(W) + k → (W)
C, DC, Z
11
1
1
ADDLW
Before Instruction
After Instruction
Add W and f
[ label ] ADDWF
0 ≤ f ≤ 127
d ∈ [0,1]
(W) + (f) → (dest)
C, DC, Z
00
1
1
ADDWF
Before Instruction
After Instruction
W
W
W
FSR =
W
FSR =
111x
0x15
0111
FSR,
=
=
=
=
0x10
0x25
0x17
0xC2
0xD9
0xC2
kkkk
dfff
0
k
f,d
kkkk
ffff
Preliminary
ANDLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
ANDWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
The contents of W register are
AND’ed with the eight bit literal 'k'. The
result is placed in the W register.
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'.
AND Literal with W
[ label ] ANDLW
0 ≤ k ≤ 255
(W) .AND. (k) → (W)
Z
11
1
1
ANDLW
Before Instruction
After Instruction
AND W with f
[ label ] ANDWF
0 ≤ f ≤ 127
d ∈ [0,1]
(W) .AND. (f) → (dest)
Z
00
1
1
ANDWF
Before Instruction
After Instruction
PIC16C55X
W
W
FSR =
W
FSR =
W
1001
0x5F
0101
FSR,
=
=
=
=
DS40143D-page 55
0xA3
0x03
0x17
0xC2
0x17
0x02
kkkk
dfff
1
k
f,d
kkkk
ffff

Related parts for PIC16C558-04/SO