PIC16F628-04I/SS Microchip Technology, PIC16F628-04I/SS Datasheet - Page 119

IC MCU FLASH 2KX14 COMP 20SSOP

PIC16F628-04I/SS

Manufacturer Part Number
PIC16F628-04I/SS
Description
IC MCU FLASH 2KX14 COMP 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheet

Specifications of PIC16F628-04I/SS

Core Size
8-Bit
Program Memory Size
3.5KB (2K x 14)
Core Processor
PIC
Speed
4MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
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 ~ 85°C
Package / Case
20-SSOP
Controller Family/series
PIC16F
No. Of I/o's
16
Eeprom Memory Size
128Byte
Ram Memory Size
224Byte
Cpu Speed
20MHz
No. Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT20SS-1 - SOCKET TRANSITION 18DIP 20SSOPAC164307 - MODULE SKT FOR PM3 28SSOPAC164018 - MODULE SKT PROMATEII 20SSOP
Data Converters
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F628-04I/SS
Manufacturer:
MICROCHID
Quantity:
20 000
 2003 Microchip Technology Inc.
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
TABLE
Return with Literal in W
[ label ]
0 ≤ k ≤ 255
k → (W);
TOS → PC
None
11
The W register is loaded with
the eight bit literal 'k'. The
program counter is loaded from
the top of the stack (the return
address). This is a two-cycle
instruction.
1
2
CALL TABLE;W contains table
value
ADDWF PC ;W = offset
RETLW k1 ;Begin table
RETLW k2 ;
RETLW kn
Before Instruction
After Instruction
Return from Subroutine
[ label ]
None
None
00
Return from subroutine. The
stack is POPed and the top of
the stack (TOS) is loaded into
the program counter. This is a
two-cycle instruction.
1
2
RETURN
After Interrupt
TOS → PC
W = 0x07
W = value of k8
PC = TOS
01xx
0000
RETLW k
RETURN
;offset value
;W now has table
; End of table
kkkk
0000
kkkk
1000
Preliminary
RLF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Rotate Left f through Carry
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
See description below
C
00
The contents of register 'f' are
rotated one bit to the left through
the Carry Flag. If 'd' is 0 the result
is placed in the W register. If 'd' is
1 the result is stored back in
register 'f'.
1
1
RLF
Before Instruction
After Instruction
PIC16F62X
REG1 = 1110 0110
C
REG1 = 1110 0110
W
C
C
RLF
1101
REG1, 0
= 0
= 1100 1100
= 1
DS40300C-page 117
REGISTER F
f,d
dfff
ffff

Related parts for PIC16F628-04I/SS