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

PIC16F636T-I/SL(2005) View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16F636T-I/SL Datasheet PDF : 196 Pages
First Prev 131 132 133 134 135 136 137 138 139 140 Next Last
PIC12F635/PIC16F636/639
RRF
Rotate Right f through Carry
Syntax:
[ label ] RRF f,d
Operands:
0 f 127
d [0,1]
Operation:
See description below
Status Affected: C
Description:
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
SUBWF
Subtract W from f
Syntax:
[ label ] SUBWF f,d
Operands:
0 f 127
d [0,1]
Operation:
(f) - (W) → (destination)
Status Affected: C, DC, Z
Description:
Subtract (2’s complement method)
W register from register ‘f’. If ‘d’ is
0’, the result is stored in the W
register. If ‘d’ is ‘1’, the result is
stored back in register ‘f’.
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.
SUBLW
Subtract W from Literal
Syntax:
[ label ] SUBLW k
Operands:
0 k 255
Operation:
k - (W) → (W)
Status Affected: C, DC, Z
Description:
The W register is subtracted (2’s
complement method) from the
eight-bit literal ‘k’. The result is
placed in the W register.
SWAPF
Swap Nibbles in f
Syntax:
Operands:
Operation:
Status Affected:
Description:
[ label ] SWAPF f,d
0 f 127
d [0,1]
(f<3:0>) (destination<7:4>),
(f<7:4>) (destination<3:0>)
None
The upper and lower nibbles of
register ‘f’ are exchanged. If ‘d’ is
0’, the result is placed in the W
register. If ‘d’ is ‘1’, the result is
placed in register ‘f’.
XORLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
Exclusive OR Literal with W
[label] XORLW k
0 k 255
(W) .XOR. k → (W)
Z
The contents of the W register
are XOR’ed with the eight-bit
literal ‘k’. The result is placed in
the W register.
DS41232B-page 138
Preliminary
© 2005 Microchip Technology Inc.

Share Link: 

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