PIC16C505-04E/P Microchip Technology, PIC16C505-04E/P Datasheet - Page 46
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC16C505-04E/P
Manufacturer Part Number
PIC16C505-04E/P
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,14PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C505-04E/P
Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
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-DIP (0.300", 7.62mm)
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 PLUG
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PIC16C505
IORLW
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
IORWF
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
DS40192C-page 46
Before Instruction
After Instruction
Before Instruction
After Instruction
W
W
Z
RESULT =
W
RESULT =
W
Z
=
=
=
Inclusive OR literal with W
[ label ]
0
(W) .OR. (k)
The contents of the W register are
OR’ed with the eight bit literal 'k'.
The result is placed in the W regis-
ter.
1
1
IORLW
0x9A
0xBF
0
Inclusive OR W with f
[ label ]
0
d
(W).OR. (f)
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'.
1
1
IORWF
=
=
=
1101
0001
k
f
[0,1]
0x13
0x91
0x13
0x93
0
31
255
0x35
IORLW k
IORWF
kkkk
00df
(dest)
(W)
RESULT, 0
kkkk
ffff
f,d
MOVF
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
MOVLW
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
After Instruction
After Instruction
W
W
=
=
Move f
[ label ]
0
d
(f)
The contents of register 'f' are
moved to destination 'd'. If 'd' is 0,
destination is the W register. If 'd'
is 1, the destination is file register
'f'. 'd' = 1 is useful as a test of a file
register since status flag Z is
affected.
1
1
MOVF
value in FSR register
Move Literal to W
[ label ]
0
k
The eight bit literal 'k' is loaded into
the W register. The don’t cares
will assembled as 0s.
1
1
MOVLW
0x5A
0010
1100
f
k
[0,1]
(W)
(dest)
31
255
1999 Microchip Technology Inc.
FSR,
0x5A
MOVF f,d
MOVLW k
00df
kkkk
0
ffff
kkkk