PIC16F506 Microchip Technology, PIC16F506 Datasheet - Page 75

no-image

PIC16F506

Manufacturer Part Number
PIC16F506
Description
(PIC12F510 / PIC16F506) 8-Bit Flash Microcontroller
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F506-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F506-I/SL
Manufacturer:
MICROCHIP
Quantity:
16 700
Part Number:
PIC16F506-I/SL
Manufacturer:
Microchip Technology
Quantity:
33 360
Part Number:
PIC16F506-I/SL
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F506-I/SL
0
Part Number:
PIC16F506-I/ST
Manufacturer:
MICROCHIP
Quantity:
2 000
Part Number:
PIC16F506-I/ST
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F506-I/ST
0
Company:
Part Number:
PIC16F506-I/ST
Quantity:
8 000
Part Number:
PIC16F506T-I/SL
Manufacturer:
ROHM
Quantity:
400 000
Part Number:
PIC16F506T-I/SL
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F506T-I/ST
Manufacturer:
ZARLINK
Quantity:
320
ADDWF
Syntax:
Operands:
Operation:
Status
Affected:
Description:
ANDLW
Syntax:
Operands:
Operation:
Status Affected: Z
Description:
ANDWF
Syntax:
Operands:
Operation:
Status Affected: Z
Description:
© 2006 Microchip Technology Inc.
[ label ] ADDWF
0
d
(W) + (f)
C, DC, Z
Add the contents of the W register
and 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’.
Add W and f
AND W with f
[ label ] ANDWF
0
d
(W) .AND. (f)
The contents of the W register are
AND’ed with register ‘f’. If ‘d’ is ‘0’,
the result is stored in the W regis-
ter. If ‘d’ is ‘1’, the result is stored
back in register ‘f’.
(W).AND. (k)
AND literal with W
[ label ] ANDLW
0
The contents of the W register are
AND’ed with the eight-bit literal ‘k’.
The result is placed in the W
register.
f
f
[0,1]
k
0 1
31
31
255
(dest)
(dest)
(W)
f,d
f,d
k
Preliminary
BCF
Syntax:
Operands:
Operation:
Status Affected: None
Description:
BSF
Syntax:
Operands:
Operation:
Status Affected: None
Description:
BTFSC
Syntax:
Operands:
Operation:
Status Affected: None
Description:
PIC12F510/16F506
Bit Clear f
[ label ] BCF
0
0
0
Bit ‘b’ in register ‘f’ is cleared.
Bit Set f
[ label ] BSF
0
0
1
Bit ‘b’ in register ‘f’ is set.
Bit Test f, Skip if Clear
[ label ] BTFSC f,b
0
0
skip if (f<b>) = 0
If bit ‘b’ in register ‘f’ is ‘0’, then the
next instruction is skipped.
If bit ‘b’ is ‘0’, then the next instruc-
tion fetched during the current
instruction execution is discarded,
and a NOP is executed instead,
making this a two-cycle instruction.
f
b
f
b
f
b
(f<b>)
(f<b>)
31
31
31
7
7
7
f,b
f,b
DS41268B-page 73

Related parts for PIC16F506