PIC16F785-E/SS Microchip Technology, PIC16F785-E/SS Datasheet - Page 134

20 PIN, 3.5 KB STD FLASH, 128 RAM, 18 I/O PB FREE,

PIC16F785-E/SS

Manufacturer Part Number
PIC16F785-E/SS
Description
20 PIN, 3.5 KB STD FLASH, 128 RAM, 18 I/O PB FREE,
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F785-E/SS

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
20-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT20SS1-1 - SOCKET TRANSITION 20DIP 20SSOPAC162060 - HEADER INTRFC MPLAB ICD2 20PIN
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PIC16F785/HV785
IORLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
IORWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
DS41249E-page 132
Inclusive OR W with f
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
(W) .OR. (f) → (destination)
Z
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’.
Move f
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
(f) → (dest)
Z
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 register
‘f’ itself. ‘d’ = 1 is useful to test a
file register since status flag Z is
affected.
Inclusive OR Literal with W
[ label ]
0 ≤ k ≤ 255
(W) .OR. k → (W)
Z
The contents of the W register
are OR’ed with the eight-bit literal
‘k’. The result is placed in the W
register.
00
IORWF
IORLW k
MOVF f,d
1000
dfff
f,d
ffff
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
NOP
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
0 ≤ k ≤ 255
None
The eight-bit literal ‘k’ is loaded
0 ≤ f ≤ 127
(W) → (f)
None
Move data from W register to
No Operation
[ label ]
None
No operation
None
No operation.
Move Literal to W
[ label ]
k → (W)
into W register. The “don’t cares”
will assemble as 0’s
Move W to f
[ label ]
register ‘f’.
11
00
00
© 2008 Microchip Technology Inc.
NOP
MOVLW k
MOVWF
0000
00xx
0000
0xx0
kkkk
1fff
.
f
0000
kkkk
ffff

Related parts for PIC16F785-E/SS