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

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
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
 2002 Microchip Technology Inc.
RRF
SLEEP
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
See description below
C
The contents of register 'f' are rotated
one bit to the right through the Carry
Flag. If 'd' is 0 the result is placed in
the W register. If 'd' is 1 the result is
placed back in register 'f'
1
1
Before Instruction
After Instruction
[ label
]
None
00h → WDT,
0 → WDT prescaler,
1 → TO,
0 → PD
TO, PD
The power-down status bit, PD is
cleared. Timeout status bit, TO is
set. Watchdog Timer and its
prescaler are cleared.
The processor is put into SLEEP
mode with the oscillator stopped.
See Section 6.8 for more details.
1
1
Rotate Right f through Carry
00
RRF
00
SLEEP
REG1 =
C
REG1 =
W
C
C
SLEEP
RRF f,d
1100
0000
=
=
=
1110 0110
0
1110 0110
0111 0011
0
Register f
dfff
REG1,0
0110
.
0011
ffff
Preliminary
Syntax:
Operands:
Operation:
Status
Affected:
Encoding:
Description:
Words:
Cycles:
Example 1:
Example 2:
Example 3:
SUBLW
[ label ] SUBLW k
0 ≤ k ≤ 255
k - (W) → (W)
C, DC, Z
The W register is subtracted (2’s com-
plement method) from the eight bit literal
'k'. The result is placed in the W register.
1
1
Before Instruction
After Instruction
Before Instruction
After Instruction
Before Instruction
After Instruction
Subtract W from Literal
11
SUBLW
W
C
W
C
W
C
W
C
W
C
W
C
tive
PIC16C55X
110x
0x02
=
=
=
=
=
=
=
=
=
=
=
=
1
?
1
1; result is positive
2
?
0
1; result is zero
3
?
0xFF
0; result is nega-
DS40143D-page 63
kkkk
kkkk

Related parts for PIC16C558-04/SO