PIC17C42A-33I/PQ Microchip Technology, PIC17C42A-33I/PQ Datasheet - Page 136

IC MCU OTP 2KX16 PWM 44-MQFP

PIC17C42A-33I/PQ

Manufacturer Part Number
PIC17C42A-33I/PQ
Description
IC MCU OTP 2KX16 PWM 44-MQFP
Manufacturer
Microchip Technology
Series
PIC® 17Cr

Specifications of PIC17C42A-33I/PQ

Core Processor
PIC
Core Size
8-Bit
Speed
33MHz
Connectivity
UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
33
Program Memory Size
4KB (2K x 16)
Program Memory Type
OTP
Ram Size
232 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
44-MQFP, 44-PQFP
Processor Series
PIC17C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
232 B
Interface Type
SCI, USART
Maximum Clock Frequency
33 MHz
Number Of Programmable I/os
33
Number Of Timers
8
Operating Supply Voltage
2.5 V to 6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
- 40 C
For Use With
AC164316 - MODULE SKT MPLAB PM3 44MQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17C42A-33I/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC17C4X
SUBWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example 1:
Example 2:
Example 3:
DS30412C-page 136
Before Instruction
After Instruction
Before Instruction
After Instruction
Before Instruction
After Instruction
Decode
REG1
WREG
C
REG1
WREG
C
Z
REG1
WREG
C
REG1
WREG
C
Z
REG1
WREG
C
REG1
WREG
C
Z
Q1
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
register 'f'
d
Subtract WREG from register 'f' (2’s
complement method). If 'd' is 0 the
result is stored in WREG. If 'd' is 1 the
result is stored back in register 'f'.
SUBWF
Subtract WREG from f
[ label ] SUBWF f,d
0
(f) – (W)
OV, C, DC, Z
1
1
Read
Q2
0000
3
2
?
1
2
1
0
2
2
?
0
2
1
1
1
2
?
FF
2
0
0
f
[0,1]
255
; result is positive
; result is zero
; result is negative
REG1, 1
010d
Execute
dest)
Q3
ffff
destination
Write to
Q4
ffff
SUBWFB
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example 1:
Example2:
Example3:
Before Instruction
After Instruction
Before Instruction
After Instruction
Before Instruction
After Instruction
Decode
REG1
WREG
C
REG1
WREG
C
Z
REG1
WREG
C
REG1
WREG
C
Z
REG1
WREG
C
REG1
WREG
C
Z
Q1
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
register 'f'
SUBWFB
SUBWFB
Subtract WREG from f with
Borrow
[ label ] SUBWFB f,d
0
d
(f) – (W) – C
OV, C, DC, Z
Subtract WREG and the carry flag
(borrow) from register 'f' (2’s comple-
ment method). If 'd' is 0 the result is
stored in WREG. If 'd' is 1 the result is
stored back in register 'f'.
1
1
SUBWFB
Read
Q2
0000
0x19
0x0D
1
0x0C
0x0D
1
0
0x1B
0x1A
0
0x1B
0x00
1
1
0x03
0x0E
1
0xF5
0x0E
0
0
f
[0,1]
1996 Microchip Technology Inc.
255
REG1,0
REG1,1
REG1, 1
001d
(0000 0011)
(0001 1001)
; result is positive
(0000 1101)
(0000 1011)
(0000 1101)
(0001 1011)
(0001 1010)
(0001 1011)
; result is zero
(0000 1101)
(1111 0100) [2’s comp]
(0000 1101)
; result is negative
Execute
Q3
dest)
ffff
destination
Write to
Q4
ffff

Related parts for PIC17C42A-33I/PQ