PIC16LC554-04/SO Microchip Technology, PIC16LC554-04/SO Datasheet - Page 66
![IC MCU OTP 512X14 18SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC16LC554-04/SO
Manufacturer Part Number
PIC16LC554-04/SO
Description
IC MCU OTP 512X14 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheet
1.PIC16C554-04P.pdf
(108 pages)
Specifications of PIC16LC554-04/SO
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
13
Program Memory Size
896B (512 x 14)
Program Memory Type
OTP
Ram Size
80 x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
18-SOIC (7.5mm Width)
Processor Series
PIC16LC
Core
PIC
Data Bus Width
8 bit
Data Ram Size
80 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
13
Number Of Timers
8
Maximum Operating Temperature
+ 70 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
0 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
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