PIC14000-04 Microchip Technology, PIC14000-04 Datasheet - Page 100
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC14000-04
Manufacturer Part Number
PIC14000-04
Description
28-Pin Programmable Mixed Signal Controller
Manufacturer
Microchip Technology
Datasheet
1.PIC14000-04.pdf
(152 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC14000-04/SO
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
PIC14000-04/SO
Manufacturer:
Maxim
Quantity:
103
Company:
Part Number:
PIC14000-04/SP
Manufacturer:
Microchip
Quantity:
482
Part Number:
PIC14000-04/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC14000-04/SS
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC14000-04/SS
Manufacturer:
MICROCHI
Quantity:
20 000
PIC14000
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
RLF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
DS40122B-page 100
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 register '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
Preliminary
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 register 'f'.
1
1
Before Instruction
After Instruction
[ label ]
None
00h
0
1
0
The power-down status bit, PD is
cleared. Time-out status bit, TO is
set. Watchdog Timer and its pres-
caler are cleared.
The processor is put into SLEEP
mode with the oscillator stopped.
See Section 10.8 for more details.
1
1
SLEEP
TO, PD
RRF
00
f
[0,1]
00
TO,
WDT prescaler,
PD
1996 Microchip Technology Inc.
127
C
WDT,
REG1
C
REG1
W
C
RRF f,d
1100
SLEEP
0000
Register f
REG1,0
=
=
=
=
=
dfff
0110
1110 0110
0
1110 0110
0111 0011
0
0011
ffff