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

PIC16F72-04I/ML 查看數據表(PDF) - Microchip Technology

零件编号
产品描述 (功能)
生产厂家
PIC16F72-04I/ML Datasheet PDF : 136 Pages
First Prev 81 82 83 84 85 86 87 88 89 90 Next Last
RETFIE
Syntax:
Operands:
Operation:
Status Affected:
Return from Interrupt
[ label ] RETFIE
None
TOS PC,
1 GIE
None
PIC16F72
RLF
Syntax:
Operands:
Operation:
Status Affected:
Description:
Rotate Left f through Carry
[ label ] RLF f,d
0 f 127
d [0,1]
See description below
C
The contents of register ‘f’ are
rotated one bit to the left through
the Carry Flag. If ‘d’ = ‘0’, the
result is placed in the W register.
If ‘d’ = ‘1’, the result is stored
back in register ‘f’.
C
Register f
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
Return with Literal in W
[ label ] RETLW k
0 k 255
k (W);
TOS PC
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.
RRF
Syntax:
Operands:
Operation:
Status Affected:
Description:
Rotate Right f through Carry
[ label ] RRF f,d
0 f 127
d [0,1]
See description below
C
The contents of register ‘f’ are
rotated one bit to the right through
the Carry Flag. If ‘d’ = ‘0’, the
result is placed in the W register.
If ‘d’ = ‘1’, the result is placed back
in register ‘f’.
C
Register f
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Description:
Return from Subroutine
[ label ] RETURN
None
TOS PC
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.
SLEEP
Syntax:
Operands:
Operation:
Status Affected:
Description:
[ label ] SLEEP
None
00h WDT,
0 WDT prescaler,
1 TO,
0 PD
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.
© 2007 Microchip Technology Inc.
DS39597C-page 79

Share Link: 

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