PIC12C671-04I/P Microchip Technology Inc., PIC12C671-04I/P Datasheet - Page 79

no-image

PIC12C671-04I/P

Manufacturer Part Number
PIC12C671-04I/P
Description
8 PIN, 1.75 KB OTP, 128 RAM, 6 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC12C671-04I/P

A/d Inputs
4-Channel, 8-Bit
Cpu Speed
2.5 MIPS
Eeprom Memory
0 Bytes
Input Output
5
Memory Type
OTP
Number Of Bits
8
Package Type
8-pin PDIP
Programmable Memory
1.75K Bytes
Ram Size
128 Bytes
Speed
4 MHz
Timers
1-8-bit
Voltage, Range
2.5-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
RLF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
1999 Microchip Technology Inc.
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.
1
2
After Interrupt
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 reg-
ister ’f’.
1
1
Before Instruction
After Instruction
RETURN
RLF
00
00
f
[0,1]
127
PC
C
PC =
RETURN
REG1
C
REG1
W
C
0000
RLF
1101
REG1,0
Register f
TOS
f,d
0000
=
=
=
=
=
dfff
1110 0110
0
1110 0110
1100 1100
1
1000
ffff
RRF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
SLEEP
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
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 reg-
ister ’f’.
1
1
Before Instruction
After Instruction
[ label ]
None
00h
0
1
0
TO, PD
The power-down status bit, PD is
cleared. Time-out status bit, TO
is set. Watchdog Timer and its
prescaler are cleared.
The processor is put into SLEEP
mode with the oscillator stopped.
1
1
SLEEP
RRF
00
f
[0,1]
00
WDT prescaler,
TO,
PD
PIC12C67X
127
C
WDT,
REG1
C
REG1
W
C
RRF f,d
1100
SLEEP
0000
Register f
DS30561B-page 79
REG1,
0
=
=
=
=
=
dfff
0110
1110 0110
0
1110 0110
0111 0011
0
ffff
0011

Related parts for PIC12C671-04I/P