12F508 Microchip Technology, 12F508 Datasheet - Page 59
12F508
Manufacturer Part Number
12F508
Description
Search -----> PIC12F508
Manufacturer
Microchip Technology
Datasheet
1.12F508.pdf
(98 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
12F508I/SN
Manufacturer:
SILICON
Quantity:
2 400
- Current page: 59 of 98
- Download datasheet (2Mb)
www.DataSheet.in
ADDWF
Syntax:
Operands:
Operation:
Status Affected: C, DC, Z
Description:
ANDLW
Description:
ANDWF
Syntax:
Operands:
Operation:
Status Affected: Z
Description:
© 2005 Microchip Technology Inc.
Status Affected: Z
Operands:
Operation:
Syntax:
(W) + (f)
Add the contents of the W register
Add W and f
[ label ] ADDWF
0
d
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’.
[ 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 register.
If ‘d’ is ‘1’, the result is stored back
in register ‘f’.
AND W with f
AND literal with W
[ label ] ANDLW
0
(W).AND. (k)
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
PIC12F508/509/16F505
BCF
Syntax:
Operands:
Operation:
Status Affected: None
Description:
BSF
Syntax:
Operands:
Operation:
Status Affected: None
BTFSC
Syntax:
Operands:
Operation:
Status Affected: None
Description:
Description: Bit ‘b’ in register ‘f’ is set.
Bit Clear f
[ label ] BCF
0
0
0
Bit ‘b’ in register ‘f’ is cleared.
Bit Set f
[ label ] BSF
0
0
1
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
DS41236B-page 57
Related parts for 12F508
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
12-STAGE RIPPLE CARRY BINARY COUNTER
Manufacturer:
National Semiconductor
Part Number:
Description:
12-Segment x 16-Digit or 16-Segment x 12-Digit Display Controller/Driver
Manufacturer:
OKI Semiconductor
Part Number:
Description:
12-segment x 16-digit or 16-segment x 12-digit display controller/driver
Manufacturer:
OKI Electronic Components
Part Number:
Description:
12 Segment, 16 Digit / 16 Segment, 12 Digit Display Controllers
Manufacturer:
OKI Semiconductor
Datasheet:
Part Number:
Description:
12-Segment x 16-Digit or 16-Segment x12-Digit Display Controller/Driver
Manufacturer:
OKI Electronic Components
Part Number:
Description:
12 V,High current, super low dropout fixed voltage regulator
Manufacturer:
M.S. Kennedy Corp.
Part Number:
Description:
12-Bit to 24-Bit Multiplexer-Demultiplexer Bus Switch
Manufacturer:
Fairchild Semiconductor
Datasheet:
Part Number:
Description:
12-Bit to 24-Bit Multiplexer/Demultiplexer Bus Switch
Manufacturer:
Fairchild Semiconductor
Datasheet:
Part Number:
Description:
12-Bit to 24-Bit Multiplexer/Demultiplexer Bus Switch
Manufacturer:
Fairchild Semiconductor
Datasheet:
Part Number:
Description:
12 Bit to 24 Bit Multiplexer/Demultiplexer Bus Switch
Manufacturer:
Fairchild Semiconductor
Datasheet:
Part Number:
Description:
12 Volt Input Dual Tube CCFT Inverter Brightness Control
Manufacturer:
Taiyo Yuden (U.S.A.), Inc.
Part Number:
Description:
12/14-Stage Ripple Carry Binary Counters
Manufacturer:
National Semiconductor
Part Number:
Description:
12-Stage Ripple Carry Binary Counters
Manufacturer:
Fairchild Semiconductor