PIC16F785-I/P Microchip Technology Inc., PIC16F785-I/P Datasheet - Page 134

no-image

PIC16F785-I/P

Manufacturer Part Number
PIC16F785-I/P
Description
MCU, 8-Bit, 2KW Flash, 128 RAM, 18 I/O, DIP-20
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F785-I/P

A/d Inputs
12-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
17
Memory Type
Flash
Number Of Bits
8
Package Type
20-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
PIC16F785/HV785
IORLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
IORWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
DS41249D-page 132
Inclusive OR W with f
[ label ]
0
d
(W) .OR. (f)
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’.
Inclusive OR Literal with W
[ label ]
0
(W) .OR. k
Z
The contents of the W register
are OR’ed with the eight-bit literal
‘k’. The result is placed in the W
register.
Move f
[ label ]
0
d
(f)
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.
00
f
k
[0,1]
f
[0,1]
(dest)
127
127
255
IORWF
MOVF f,d
IORLW k
1000
(W)
(destination)
dfff
f,d
ffff
Preliminary
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
NOP
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
No Operation
[ label ]
None
No operation
None
No operation.
Move Literal to W
[ label ]
0
k
None
The eight-bit literal ‘k’ is loaded
into W register. The “don’t cares”
will assemble as 0’s
Move W to f
[ label ]
0
(W)
None
Move data from W register to
register ‘f’.
11
00
00
k
f
(W)
© 2006 Microchip Technology Inc.
127
(f)
255
NOP
MOVLW k
MOVWF
0000
00xx
0000
0xx0
kkkk
1fff
.
f
0000
kkkk
ffff

Related parts for PIC16F785-I/P