PIC16C710-04E/SS Microchip Technology, PIC16C710-04E/SS Datasheet - Page 83
![IC MCU OTP 512X14 A/D 20SSOP](/photos/6/58/65895/150-20-ssop_sml.jpg)
PIC16C710-04E/SS
Manufacturer Part Number
PIC16C710-04E/SS
Description
IC MCU OTP 512X14 A/D 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C710-04E/SS
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
36 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Data Converters
A/D 4x8b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
20-SSOP
Data Bus Width
8 bit
Data Ram Size
36 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
13
Number Of Timers
1
Operating Supply Voltage
2.5 V to 6 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
On-chip Adc
4 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
Details
- Current page: 83 of 177
- Download datasheet (2Mb)
SUBWF
Syntax:
Operands:
Operation:
Status Affected: C, DC, Z
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example 1:
Example 2:
Example 3:
1997 Microchip Technology Inc.
Subtract W from f
[ label ]
0
d
(f) - (W)
Subtract (2’s complement method) W reg-
ister 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
Decode
Q1
f
00
[0,1]
REG1
W
C
Z
REG1
W
C
Z
REG1
W
C
Z
REG1
W
C
Z
REG1
W
C
Z
REG1
W
C
Z
127
register 'f'
SUBWF f,d
REG1,1
dest)
0010
Read
Q2
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
3
2
?
?
1
2
1; result is positive
0
2
2
?
?
0
2
1; result is zero
1
1
2
?
?
0xFF
2
0; result is negative
0
Process
dfff
data
Q3
Write to
ffff
dest
Q4
SWAPF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
TRIS
Operands:
Syntax:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example
Swap Nibbles in f
[ label ] SWAPF f,d
0
d
(f<3:0>)
(f<7:4>)
None
The upper and lower nibbles of regis-
ter '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
Load TRIS Register
[ label ]
5
(W)
The instruction is supported for code
compatibility with the PIC16C5X prod-
ucts. Since TRIS registers are read-
able and writable, the user can directly
address them.
1
1
To maintain upward compatibility
with future PIC16CXX products, do
not use this instruction.
Decode
SWAPF REG,
Q1
00
00
f
f
[0,1]
PIC16C71X
127
7
TRIS register f;
TRIS
register 'f'
0000
REG1
REG1
W
1110
(dest<7:4>),
(dest<3:0>)
Read
Q2
DS30272A-page 83
f
0
0110
Process
dfff
=
=
=
data
Q3
0xA5
0xA5
0x5A
0fff
Write to
ffff
dest
Q4
Related parts for PIC16C710-04E/SS
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C710-04/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 A/D 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C710-04I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 A/D 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C710-04/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 A/D 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C710-04I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 A/D 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C710-20/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 A/D 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C710-04/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 A/D 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C710-04E/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 A/D 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C710-20I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 A/D 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C710-04E/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 A/D 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C710-20/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 A/D 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C710-20I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 A/D 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C710-04I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 A/D 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C710-20E/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 A/D 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C710-20I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 A/D 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C710-20/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 A/D 18SOIC
Manufacturer:
Microchip Technology
Datasheet: