PIC12F683-E/P Microchip Technology Inc., PIC12F683-E/P Datasheet - Page 99

no-image

PIC12F683-E/P

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

Specifications of PIC12F683-E/P

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
13.2
ADDLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
ADDWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
ANDLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
ANDWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
 2004 Microchip Technology Inc.
Instruction Descriptions
Add W and f
[ label ] ADDWF
0
d
(W) + (f)
C, DC, Z
Add the contents of the W register
with register ‘f’. If ‘d’ is ‘0’, the result
is stored in the W register. If ‘d’ is
‘1’, the result is stored back in
register ‘f’.
(W) + k
Add Literal and W
[ label ] ADDLW
0
C, DC, Z
The contents of the W register are
added to the eight-bit literal ‘k’ and
the result is placed in the W
register.
AND W with f
[ label ] ANDWF
0
d
(W) .AND. (f)
Z
AND the W register with register
‘f’. If ‘d’ is ‘0’, the result is stored in
the W register. If ‘d’ is ‘1’, the
result is stored back in register ‘f’.
AND Literal with W
[ label ] ANDLW
0
(W) .AND. (k)
Z
The contents of W register are
AND’ed with the eight-bit literal
‘k’. The result is placed in the W
register.
f
k
f
0,1
k
0,1
127
127
255
255
(W)
(destination)
(destination)
(W)
f,d
k
f,d
k
Preliminary
BCF
Syntax:
Operands:
Operation:
Status Affected:
Description:
BSF
Syntax:
Operands:
Operation:
Status Affected:
Description:
BTFSC
Syntax:
Operands:
Operation:
Status Affected: None
Description:
BTFSS
Syntax:
Operands:
Operation:
Status Affected:
Description:
Bit Test, Skip if Clear
[ label ] BTFSC f,b
0
0
skip if (f<b>) = 0
If bit ‘b’ in register ‘f’ is ‘1’, the next
instruction is executed.
If bit ‘b’ in register ‘f’ is ‘0’, the next
instruction is discarded and a NOP
is executed instead, making this a
2-cycle instruction.
Bit Test f, Skip if Set
[ label ] BTFSS f,b
0
0
skip if (f<b>) = 1
None
If bit ‘b’ in register ‘f’ is ‘0’, the next
instruction is executed.
If bit ‘b’ is ‘1’, then the next
instruction is discarded and a NOP
is executed instead, making this a
2-cycle instruction.
Bit Clear f
[ label ] BCF
0
0
0
None
Bit ‘b’ in register ‘f’ is cleared.
Bit Set f
[ label ] BSF
0
0
1
None
Bit ‘b’ in register ‘f’ is set.
f
b
f
b
f
b
f
b
(f<b>)
(f<b>)
127
7
127
7
127
127
PIC12F683
7
7
f,b
f,b
DS41211B-page 97

Related parts for PIC12F683-E/P