PIC16LC554-04E/SS Microchip Technology, PIC16LC554-04E/SS Datasheet - Page 66
![IC MCU OTP 512X14 20SSOP](/photos/6/58/65895/150-20-ssop_sml.jpg)
PIC16LC554-04E/SS
Manufacturer Part Number
PIC16LC554-04E/SS
Description
IC MCU OTP 512X14 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheet
1.PIC16C554-04P.pdf
(108 pages)
Specifications of PIC16LC554-04E/SS
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
-40°C ~ 125°C
Package / Case
20-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
- Current page: 66 of 108
- Download datasheet (3Mb)
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 PIC16LC554-04E/SS
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16LC554-04/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC554-04/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC554-04I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC554-04/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC554-04I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC554-04I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC554-04E/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC554-04E/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: