PIC16C662-04E/L Microchip Technology, PIC16C662-04E/L Datasheet - Page 81
![IC MCU OTP 4KX14 COMP 44PLCC](/photos/6/63/66325/150-44-plcc_sml.jpg)
PIC16C662-04E/L
Manufacturer Part Number
PIC16C662-04E/L
Description
IC MCU OTP 4KX14 COMP 44PLCC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C662-04E/L
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, LED, POR, WDT
Number Of I /o
33
Program Memory Size
7KB (4K x 14)
Program Memory Type
OTP
Ram Size
176 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
44-PLCC
For Use With
DVA16XL441 - ADAPTER DEVICE ICE 44PLCC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16C662-04E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
IORWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
1996 Microchip Technology Inc.
Inclusive OR W with f
[ label ]
0
d
(W) .OR. (f)
Z
Inclusive OR the W register with regis-
ter '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
Before Instruction
After Instruction
Move Literal to W
[ label ]
0
k
None
The eight bit literal 'k' is loaded into W
register
as 0’s.
1
1
After Instruction
IORWF
MOVLW
00
11
f
k
[0,1]
(W)
.
127
255
The don’t cares will assemble
RESULT =
W
RESULT =
W
Z
W
IORWF
MOVLW k
0100
00xx
0x5A
=
(dest)
RESULT, 0
=
=
=
0x5A
dfff
kkkk
f,d
0x13
0x91
0x13
0x93
1
ffff
kkkk
PIC16C64X & PIC16C66X
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Move f
[ label ]
0
d
(f)
Z
The contents of register f is moved to
a destination dependant upon the sta-
tus of d. If d = 0, destination is W reg-
ister. 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.
1
1
After Instruction
Move W to f
[ label ]
0
(W)
None
Move data from W register to register
'f'
1
1
Before Instruction
After Instruction
.
MOVF
MOVWF
00
00
f
f
[0,1]
(dest)
127
127
(f)
W = value in FSR register
Z = 1
OPTION =
W
OPTION =
W
MOVF f,d
MOVWF
1000
0000
FSR, 0
OPTION
DS30559A-page 81
=
=
dfff
1fff
f
0xFF
0x4F
0x4F
0x4F
ffff
ffff