PIC16C554-04/P Microchip Technology, PIC16C554-04/P Datasheet - Page 66

IC MCU OTP 512X14 18DIP

PIC16C554-04/P

Manufacturer Part Number
PIC16C554-04/P
Description
IC MCU OTP 512X14 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C554-04/P

Core Size
8-Bit
Program Memory Size
896B (512 x 14)
Core Processor
PIC
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
13
Program Memory Type
OTP
Ram Size
80 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
18-DIP (0.300", 7.62mm)
Controller Family/series
PIC16C
No. Of I/o's
13
Ram Memory Size
80Byte
Cpu Speed
4MHz
No. Of Timers
1
Core
PIC
Processor Series
PIC16C
Data Bus Width
8 bit
Maximum Clock Frequency
20 MHz
Data Ram Size
80 B
Data Rom Size
80 B
Number Of Programmable I/os
13
Number Of Timers
8
Operating Supply Voltage
2.5 V to 5.5 V
Mounting Style
Through Hole
Height
3.3 mm
Length
22.86 mm
Maximum Operating Temperature
+ 70 C
Minimum Operating Temperature
0 C
Supply Voltage (max)
5.5 V
Supply Voltage (min)
3 V
Width
6.35 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
ISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMING309-1059 - ADAPTER 18 ZIF BD W/18SO PLUGSDVA16XP180 - ADAPTER DEVICE FOR MPLAB-ICEAC164010 - MODULE SKT PROMATEII DIP/SOIC
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
PIC16C55X
Syntax:
Operands:
Operation:
Status
Affected:
Encoding:
Description:
Words:
Cycles:
Example 1:
Example 2:
Example 3:
DS40143D-page 64
SUBWF
[ label ] SUBWF f,d
0 ≤ f ≤ 127
d ∈ [0,1]
(f) - (W) → (dest)
C, DC, Z
Subtract (2’s complement method)
W register from 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
Before Instruction
After Instruction
Before Instruction
After Instruction
Before Instruction
After Instruction
Subtract W from f
00
SUBWF
REG1 =
W
C
REG1 =
W
C
REG1 =
W
C
REG1 =
W
C
REG1 =
W
C
REG1 =
W
C
0010
REG1,1
=
=
=
=
=
=
=
=
=
=
=
=
3
2
?
1
2
1; result is positive
2
2
?
0
2
1; result is zero
1
2
?
0xFF
2
0; result is negative
dfff
ffff
Preliminary
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
TRIS
SWAPF
[ label ] SWAPF f,d
0 ≤ f ≤ 127
d ∈ [0,1]
(f<3:0>) → (dest<7:4>),
(f<7:4>) → (dest<3:0>)
None
The upper and lower nibbles of
register 'f' are exchanged. If 'd' is 0
the result is placed in W register. If 'd'
is 1 the result is placed in register 'f'.
1
1
Before Instruction
After Instruction
[ label ] TRIS
5 ≤ f ≤ 7
(W) → TRIS register f;
None
The instruction is supported for code
compatibility with the PIC16C5X
products. Since TRIS registers are
readable and writable, the user can
directly address them.
1
1
To maintain upward compatibility
with future PICmicro™ products, do
not use this instruction.
Load TRIS Register
00
Swap Nibbles in f
00
SWAPF
 2002 Microchip Technology Inc.
REG1 = 0xA5
REG1 = 0xA5
W
0000
1110
REG,
= 0x5A
f
0110
dfff
0
0fff
ffff

Related parts for PIC16C554-04/P