PIC16F874-04E/P Microchip Technology, PIC16F874-04E/P Datasheet - Page 561
PIC16F874-04E/P
Manufacturer Part Number
PIC16F874-04E/P
Description
IC MCU FLASH 4KX14 EE 40DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16F873-04SO.pdf
(218 pages)
4.PIC16F873-04SO.pdf
(5 pages)
5.PIC16F873-04SO.pdf
(5 pages)
Specifications of PIC16F874-04E/P
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
33
Program Memory Size
7KB (4K x 14)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
PIC16F87404E/P
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F874-04E/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC16F874-04E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
- PIC16F616T-ISL PDF datasheet
- PIC16F688T-ISL PDF datasheet #2
- PIC16F873-04SO PDF datasheet #3
- PIC16F873-04SO PDF datasheet #4
- PIC16F873-04SO PDF datasheet #5
- Current page: 561 of 688
- Download datasheet (3Mb)
1997 Microchip Technology Inc.
SUBLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example 1:
Example 2
Q1
Case 1:
Case 2:
Case 3:
Decode
SUBLW
Before Instruction
After Instruction
Before Instruction
After Instruction
Before Instruction
After Instruction
Q2
Before Instruction
After Instruction
literal 'k'
[ 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
Read
SUBLW
11
k
Section 29. Instruction Set
255
W
C
Z
W
C
Z
W
C
Z
W
C
Z
W
C
Z
W
C
Z
0x02
W
Address of MYREG
† MYREG is a symbol for a data memory location
W
C
Subtract W from Literal
MYREG
Q3
W
SUBLW k
110x
Process
= 0x01
= x
= x
= 0x01
= 1
= 0
= 0x02
= x
= x
= 0x00
= 1
= 1
= 0x03
= x
= x
= 0xFF
= 0
= 0
= 0x10
= 0x27
= 1
data
kkkk
; result is positive
Q4
Write to W
; result is positive
; result is zero
; result is negative
register
†
= 0x37
kkkk
DS31029A-page 29-39
29
Related parts for PIC16F874-04E/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
IC MCU FLASH 4KX14 EE 40DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 40DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 40DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,QFP,44PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44MQFP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 40DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44-MQFP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 40DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 4KX14 EE 44PLCC
Manufacturer:
Microchip Technology
Datasheet: