PIC16C620-04I/SO Microchip Technology, PIC16C620-04I/SO Datasheet - Page 74

IC MCU OTP 512X14 COMP 18SOIC

PIC16C620-04I/SO

Manufacturer Part Number
PIC16C620-04I/SO
Description
IC MCU OTP 512X14 COMP 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C620-04I/SO

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, 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)
3 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
18-SOIC (7.5mm Width)
For Use With
XLT18SO-1 - SOCKET TRANSITION 18SOIC 300MILISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMING309-1075 - ADAPTER 18-SOIC TO 18-SOICAC164010 - MODULE SKT PROMATEII DIP/SOIC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
PIC16C62X
SUBLW
Syntax:
Operands:
Operation:
Status
Affected:
Encoding:
Description:
Words:
Cycles:
Example 1:
Example 2:
Example 3:
DS30235J-page 72
Subtract W from Literal
[ label ]
0 ≤ k ≤ 255
k - (W) → (W)
C, DC, Z
The W register is subtracted (2’s
complement method) from the eight
bit literal 'k'. The result is placed in
the W register.
1
1
SUBLW
Before Instruction
After Instruction
Before Instruction
After Instruction
Before Instruction
After Instruction
11
W
C
W
C
W
C
W
C
W
C
W
C
0x02
SUBLW k
110x
=
=
=
=
=
=
=
=
=
=
=
=
1
?
1
1; result is positive
2
?
0
1; result is zero
3
?
0xFF
0; result is negative
kkkk
kkkk
SUBWF
Syntax:
Operands:
Operation:
Status
Affected:
Encoding:
Description:
Words:
Cycles:
Example 1:
Example 2:
Example 3:
Subtract W from f
[ label ]
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
SUBWF
Before Instruction
After Instruction
Before Instruction
After Instruction
Before Instruction
After Instruction
00
 2003 Microchip Technology Inc.
REG1=
W
C
REG1=
W
C
REG1=
W
C
REG1=
W
C
REG1=
W
C
REG1=
W
C
REG1,1
SUBWF f,d
0010
=
=
=
=
=
=
=
=
=
=
=
=
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

Related parts for PIC16C620-04I/SO