English
Language : 

PIC17C7XX_13 Datasheet, PDF (222/306 Pages) Microchip Technology – High-Performance 8-bit CMOS EPROM Microcontrollers with 10-bit A/D
PIC17C7XX
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Q1
Decode
No
operation
Return from Subroutine
[ label ] RETURN
None
TOS  PC;
None
0000 0000 0000 0010
Return from subroutine. The stack is
popped and the top of the stack (TOS)
is loaded into the program counter.
1
2
Q2
No
operation
No
operation
Q3
Process
Data
No
operation
Q4
POP PC
from stack
No
operation
Example:
RETURN
After Interrupt
PC = TOS
RLCF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Rotate Left f through Carry
[ label ] RLCF f,d
0  f  255
d  [0,1]
f<n>  d<n+1>;
f<7>  C;
C  d<0>
C
0001 101d ffff 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
WREG. If 'd' is 1, the result is stored
back in register 'f'.
C
register f
Words:
Cycles:
Q Cycle Activity:
Q1
Decode
1
1
Q2
Read
register 'f'
Q3
Process
Data
Q4
Write to
destination
Example:
RLCF REG,0
Before Instruction
REG = 1110 0110
C
=0
After Instruction
REG =
WREG =
C
=
1110 0110
1100 1100
1
DS30289C-page 222
 1998-2013 Microchip Technology Inc.