PIC16C432T-I/SS Microchip Technology, PIC16C432T-I/SS Datasheet - Page 73

IC MCU CMOS 8BIT 20MHZ 2K 20SSOP

PIC16C432T-I/SS

Manufacturer Part Number
PIC16C432T-I/SS
Description
IC MCU CMOS 8BIT 20MHZ 2K 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C432T-I/SS

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
LIN (Local Interconnect Network)
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
12
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SSOP
For Use With
AC164029 - MODULE SKT PROMATEII 20DIP/SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
SUBLW
Syntax:
Operands:
Operation:
Status
Affected:
Encoding:
Description:
Words:
Cycles:
Example 1:
Example 2:
Example 3:
2002 Microchip Technology Inc.
Subtract W from Literal
[ label ]
0
k - (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
k
W
C
W
C
W
C
W
C
W
C
W
C
255
(W)
SUBLW k
0x02
110x
=
=
=
=
=
=
=
=
=
=
=
=
1
3
?
?
1
1; result is positive
2
?
0
1; result is zero
0xFF
0; result is negative
kkkk
kkkk
Preliminary
SUBWF
Syntax:
Operands:
Operation:
Status
Affected:
Encoding:
Description:
Words:
Cycles:
Example 1:
Example 2:
Example 3:
Subtract W from f
[ label ]
0
d
(f) - (W)
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 reg-
ister 'f'.
1
1
SUBWF
Before Instruction
After Instruction
Before Instruction
After Instruction
Before Instruction
After Instruction
00
f
[0,1]
REG1
W
C
REG1 =
W
C
REG1 =
W
C
REG1 =
W
C
REG1 =
W
C
REG1 =
W
C
127
PIC16C432
(dest)
SUBWF f,d
REG1,1
0010
=
=
=
=
=
=
=
=
=
=
=
=
=
3
2
?
0
2
1; result is zero
0xFF
2
0; result is negative
1
2
1; result is positive
2
2
?
1
2
?
DS41140B-page 71
dfff
ffff

Related parts for PIC16C432T-I/SS