PIC12F683-I/MD Microchip Technology Inc., PIC12F683-I/MD Datasheet - Page 103

no-image

PIC12F683-I/MD

Manufacturer Part Number
PIC12F683-I/MD
Description
8 PIN, 3.5KB FLASH, 128 RAM, 6 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC12F683-I/MD

A/d Inputs
4-Channel, 10-Bit
Comparators
1
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Frequency
20 MHz
Input Output
6
Memory Type
Flash
Number Of Bits
8
Package Type
8-Pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Serial Interface
None
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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC12F683-I/MD
Manufacturer:
Cirrus
Quantity:
234
RETLW
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
 2004 Microchip Technology Inc.
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Description:
Return with Literal in W
[ label ]
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 table
ADDWF PC
RETLW k1
RETLW k2
RETLW kn
Before Instruction
After Instruction
Return from Subroutine
[ label ]
None
TOS
None
Return from subroutine. The stack
is POPed and the top of the stack
(TOS) is loaded into the program
counter. This is a two-cycle
instruction.
k
11
(W);
255
PC
W
W
PC
RETLW k
;offset value
RETURN
;W now has table value
01xx
;W = offset
;Begin table
;
; End of table
=
=
0x07
value of k8
kkkk
kkkk
Preliminary
RLF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
RRF
Syntax:
Operands:
Operation:
Status Affected:
Description:
Rotate Right f through Carry
[ label ]
0
d
See description below
C
The contents of register ‘f’ are
rotated one bit to the right
through the Carry flag. If ‘d’ is ‘0’,
the result is placed in the W
register. If ‘d’ is ‘1’, the result is
placed back in register ‘f’.
Rotate Left f through Carry
[ label ]
0
d
See description below
C
The contents of register ‘f’ are
rotated one bit to the left through
the Carry flag. If ‘d’ is ‘0’, the result
is placed in the W register. If ‘d’ is
‘1’, the result is stored back in
register ‘f’.
1
1
Before Instruction
After Instruction
RLF
f
[0,1]
00
f
[0,1]
127
PIC12F683
C
127
C
RRF f,d
REG1
C
REG1
W
C
RLF
REG1,0
1101
DS41211B-page 101
Register f
Register f
f,d
=
=
=
=
=
dfff
1110 0110
0
1110 0110
1100 1100
1
ffff

Related parts for PIC12F683-I/MD