DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16LC8X View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16LC8X
Microchip
Microchip Technology 
PIC16LC8X Datasheet PDF : 117 Pages
First Prev 61 62 63 64 65 66 67 68 69 70 Next Last
PIC16C8X
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Return from Subroutine
[ label ] RETURN
None
TOS (PC)
None
00 0000 0000 1000
Return from subroutine. The stack is
popped and the Top of Stack (TOS) is
loaded into the program counter. This
is a two cycle instruction.
1
2
RETURN
After Interrupt
PC = TOS
RLF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Rotate Left f through Carry
[ label ] RLF f,d
0 f 127
d [0,1]
See description below
C
00 1101 dfff ffff
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'.
C
Register f
Words:
Cycles:
Example
1
1
RLF
REG1,0
Before Instruction
REG1 =
C
=
After Instruction
REG1 =
W
=
C
=
1110 0110
0
1110 0110
1100 1100
1
RRF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Rotate Right f through Carry
[ label ] RRF f,d
0 f 127
d [0,1]
See description below
C
00 1100 dfff ffff
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'.
C
Register f
Words:
Cycles:
Example
1
1
RRF
REG1,0
Before Instruction
REG1 =
C
=
After Instruction
REG1 =
W
=
C
=
1110 0110
0
1110 0110
0111 0011
1
SLEEP
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
Go into Standby Mode
[ label ] SLEEP
None
00h WDT,
0 WDT prescaler
1 TO,
0 PD
TO, PD
00 0000 0110 0011
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
DS30081F-page 62
© 1995 Microchip Technology Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]