PIC16C505-04I/P Microchip Technology Inc., PIC16C505-04I/P Datasheet - Page 47

no-image

PIC16C505-04I/P

Manufacturer Part Number
PIC16C505-04I/P
Description
14 PIN, 1.5 KB OTP, 72 RAM, 12 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16C505-04I/P

Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Input Output
11
Memory Type
OTP
Number Of Bits
8
Package Type
14-pin PDIP
Programmable Memory
1.5K Bytes
Ram Size
72 Bytes
Speed
4 MHz
Timers
1- 8-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C505-04I/P
Manufacturer:
BOURNS
Quantity:
1 001
Part Number:
PIC16C505-04I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
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

Related parts for PIC16C505-04I/P