PIC16LC554-04E/SS Microchip Technology, PIC16LC554-04E/SS Datasheet - Page 62
![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
-
PIC16C55X
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
DS40143D-page 60
INCFSZ
IORLW
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
(f) + 1 → (dest), skip if result = 0
None
The contents of register 'f' are
incremented. If 'd' is 0 the result is
placed in the W register. If 'd' is 1 the
result is placed back in register 'f'.
If the result is 0, the next instruction,
which is already fetched, is discarded.
A NOP is executed instead making it a
two-cycle instruction.
1
1(2)
Before Instruction
[ label ]
0 ≤ k ≤ 255
(W) .OR. k → (W)
Z
The contents of the W register is
OR’ed with the eight bit literal 'k'. The
result is placed in the W register.
1
1
Before Instruction
After Instruction
Increment f, Skip if 0
00
HERE
CONTINUE •
Inclusive OR Literal with W
11
IORLW
PC
After Instruction
CNT
if CNT = 0,
PC
if CNT ≠ 0,
PC
W
W
Z
INCFSZ f,d
IORLW k
=
=
=
1111
= address HERE
= CNT + 1
= address CONTINUE
= address HERE +1
1000
0x35
INCFSZ
GOTO
•
•
0x9A
0xBF
1
dfff
kkkk
LOOP
CNT,
ffff
kkkk
Preliminary
1
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
IORWF
MOVLW
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
(W) .OR. (f) → (dest)
Z
Inclusive OR the W register with
register 'f'. 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 ]
0 ≤ k ≤ 255
k → (W)
None
The eight bit literal 'k' is loaded into W
register. The don’t cares will assemble
as 0’s.
1
1
After Instruction
Inclusive OR W with f
00
IORWF
Move Literal to W
11
MOVLW
2002 Microchip Technology Inc.
RESULT = 0x13
W
RESULT = 0x13
W
Z
W
IORWF
MOVLW k
0100
00xx
0x5A
=
= 0x91
= 0x93
= 1
0x5A
dfff
RESULT, 0
kkkk
f,d
ffff
kkkk