PIC16F628-04E/SO Microchip Technology, PIC16F628-04E/SO Datasheet - Page 117
![IC MCU FLASH 2KX14 18-SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC16F628-04E/SO
Manufacturer Part Number
PIC16F628-04E/SO
Description
IC MCU FLASH 2KX14 18-SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheet
1.PIC16F627-04P.pdf
(170 pages)
Specifications of PIC16F628-04E/SO
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
224 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
18-SOIC (7.5mm Width)
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
224 B
Interface Type
SCI, USART
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
16
Number Of Timers
8
Operating Supply Voltage
3 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163014, DM164120-4
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
Lead Free Status / Rohs Status
Details
- Current page: 117 of 170
- Download datasheet (5Mb)
2003 Microchip Technology Inc.
IORLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
IORWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Inclusive OR Literal with W
[ label ]
0 ≤ k ≤ 255
(W) .OR. k → (W)
Z
11
OR’ed with the eight bit literal 'k'.
The result is placed in the W
register.
1
1
IORLW
Before Instruction
After Instruction
Inclusive OR W with f
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
(W) .OR. (f) → (dest)
Z
00
Inclusive OR the W register with
register 'f'. If 'd' is 0 the result is
placed in the W register. If 'd' is
1 the result is placed back in
register 'f'.
1
1
IORWF
Before Instruction
After Instruction
The contents of the W register is
REG1 = 0x13
W
REG1 = 0x13
W
Z
W = 0x9A
W = 0xBF
Z = 0
1000
0x35
0100
REG1, 0
IORLW k
IORWF
= 0x91
= 0x93
= 1
kkkk
dfff
f,d
kkkk
ffff
Preliminary
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Move Literal to W
[ label ]
0 ≤ k ≤ 255
k → (W)
None
11
The eight bit literal 'k' is loaded
into W register. The don’t cares
will assemble as 0’s.
1
1
MOVLW
After Instruction
Move f
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
(f) → (dest)
Z
00
The contents of register f is
moved to a destination depen-
dent upon the status of d. If d =
0, destination is W register. If d
= 1, the destination is file regis-
ter f itself. d = 1 is useful to test
a file register since status flag Z
is affected.
1
1
MOVF
After Instruction
W = value in REG1 register
Z = 1
PIC16F62X
W = 0x5A
00xx
0x5A
1000
REG1, 0
MOVLW k
MOVF f,d
DS40300C-page 115
kkkk
dfff
kkkk
ffff
Related parts for PIC16F628-04E/SO
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16F628-20/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 2KX14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F628-04I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 2KX14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F628-04/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU FLASH 2KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F628-04/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 2KX14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F628-04I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU FLASH 2KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F628-20I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU FLASH 2KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F628-04I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 2KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F628-20I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 2KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F628-20/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 2KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F628-04E/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SSOP,20PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F628-20/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU FLASH 2KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F628-04/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 2KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F628-20I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 2KX14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F628-04E/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU FLASH 2KX14 18-DIP
Manufacturer:
Microchip Technology
Datasheet: