PIC10F202 Microchip Technology Inc., PIC10F202 Datasheet - Page 59
PIC10F202
Manufacturer Part Number
PIC10F202
Description
6-pin, 8-bit Flash Microcontrollers Data Sheet
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC10F202.pdf
(96 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC10F202-E/OT
Manufacturer:
MICROCHIP
Quantity:
8 720
Part Number:
PIC10F202-I/OT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC10F202-I/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Company:
Part Number:
PIC10F202-I/P
Manufacturer:
Microchip Technology
Quantity:
1 812
Part Number:
PIC10F202-I/P
Manufacturer:
MICRCOHI
Quantity:
20 000
Company:
Part Number:
PIC10F202T-E/OT
Manufacturer:
XILINX
Quantity:
101
Company:
Part Number:
PIC10F202T-I/MC
Manufacturer:
ATMEL
Quantity:
978
Part Number:
PIC10F202T-I/MC011
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC10F202T-I/MC012
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC10F202T-I/MC086
Manufacturer:
MICROCH
Quantity:
20 000
RETLW
Syntax:
Operands:
Operation:
Status Affected: None
Description:
RLF
Syntax:
Operands:
Operation:
Status Affected: C
Description:
RRF
Syntax:
Operands:
Operation:
Status Affected: C
Description:
© 2007 Microchip Technology Inc.
Return with literal in W
[ label ]
0 ≤ k ≤ 255
k → (W);
TOS → PC
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.
Rotate Left f through Carry
[ label ]
0 ≤ f ≤ 31
d ∈ [0,1]
See description below
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’.
Rotate Right f through Carry
[ label ]
0 ≤ f ≤ 31
d ∈ [0,1]
See description below
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
C
RETLW k
RRF f,d
register ‘f’
register ‘f’
RLF
f,d
PIC10F200/202/204/206
SLEEP
Syntax:
Operands:
Operation:
Status Affected: TO, PD, RBWUF
Description:
SUBWF
Syntax:
Operands:
Operation:
Status Affected: C, DC, Z
Description:
SWAPF
Syntax:
Operands:
Operation:
Status Affected: None
Description:
Enter SLEEP Mode
[ label ] SLEEP
None
00h → WDT;
0 → WDT prescaler;
1 → TO;
0 → PD
Time-out Status bit (TO) is set. The
Power-down Status bit (PD) is
cleared.
RBWUF is unaffected.
The WDT and its prescaler are
cleared.
The processor is put into Sleep
mode with the oscillator stopped.
See Section 9.9 “Power-Down
Mode (Sleep)” for more details.
Subtract W from f
[ label ] SUBWF f,d
0 ≤ f ≤ 31
d ∈ [0,1]
(f) – (W) → (dest)
Subtract (2’s complement method)
the 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’.
Swap Nibbles in f
[ label ] SWAPF f,d
0 ≤ f ≤ 31
d ∈ [0,1]
(f<3:0>) → (dest<7:4>);
(f<7:4>) → (dest<3:0>)
The upper and lower nibbles of
register ‘f’ are exchanged. If ‘d’ is
‘0’, the result is placed in W
register. If ‘d’ is ‘1’, the result is
placed in register ‘f’.
DS41239D-page 57