pic16c62b-20i-ss Microchip Technology Inc., pic16c62b-20i-ss Datasheet - Page 73

no-image

pic16c62b-20i-ss

Manufacturer Part Number
pic16c62b-20i-ss
Description
28-pin 8-bit Cmos Microcontrollers
Manufacturer
Microchip Technology Inc.
Datasheet
RETFIE
Syntax:
Operands:
Operation:
Status Affected:
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Description:
1999 Microchip Technology Inc.
[ label ]
None
[ label ]
Return from Interrupt
TOS
1
None
Return with Literal in W
0
k
TOS
None
The W register is loaded with the eight
bit literal ’k’. The program counter is
loaded from the top of the stack (the
return address). This is a two cycle
instruction.
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.
k
(W);
GIE
255
PC,
PC
PC
RETFIE
RETLW k
RETURN
Preliminary
RLF
Syntax:
Operands:
Operation:
Status Affected:
Description:
RRF
Syntax:
Operands:
Operation:
Status Affected:
Description:
SLEEP
Syntax:
Operands:
Operation:
Status Affected:
Description:
PIC16C62B/72A
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’.
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’.
[ 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 pres-
caler are cleared.
The processor is put into SLEEP
mode with the oscillator stopped.
See Section 10.13 for more details.
f
[0,1]
f
[0,1]
WDT prescaler,
TO,
PD
127
127
C
C
WDT,
RRF f,d
RLF
SLEEP
Register f
Register f
DS35008B-page 73
f,d

Related parts for pic16c62b-20i-ss