PIC16C505-20E/SL Microchip Technology, PIC16C505-20E/SL Datasheet - Page 47
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC16C505-20E/SL
Manufacturer Part Number
PIC16C505-20E/SL
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,14PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C505-20E/SL
Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
POR, WDT
Number Of I /o
11
Program Memory Size
1.5KB (1K x 12)
Program Memory Type
OTP
Ram Size
72 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
14-SOIC (3.9mm Width), 14-SOL
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
309-1086 - ADAPTER 14-ZIF BD W/14-SO PLUGS309-1085 - ADAPTER 14-DIP BD W/2 14-SO PLUG309-1001 - ADAPTER 14-SOIC TO 14-DIP309-1000 - ADAPTER 14-SOIC TO 14-DIP
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
MOVWF
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
NOP
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
1999 Microchip Technology Inc.
Before Instruction
After Instruction
TEMP_REG
W
TEMP_REG
W
Move W to f
[ label ]
0
(W)
Move data from the W register to
register ’f’.
1
1
MOVWF
No Operation
[ label ]
None
No operation
No operation.
1
1
NOP
0000
0000
f
=
=
=
=
31
(f)
TEMP_REG
0xFF
0x4F
0x4F
0x4F
MOVWF
NOP
001f
0000
ffff
0000
f
OPTION
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example
RETLW
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
TABLE
Before Instruction
After Instruction
Before Instruction
After Instruction
W
OPTION =
W
W
=
=
[ label ]
(W)
[ label ]
Load OPTION Register
None
The content of the W register is
loaded into the OPTION register.
1
1
=
Return with Literal in W
0
k
TOS
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
ADDWF PC
RETLW k1
RETLW k2
RETLW kn
0x07
value of k8
0000
OPTION
1000
k
0x07
0x07
(W);
OPTION
255
PIC16C505
PC
OPTION
0000
RETLW k
kkkk
;W now has table
;value.
;table offset
;value.
;W = offset
;Begin table
;
; End of table
DS40192C-page 47
0010
kkkk