12F508 Microchip Technology, 12F508 Datasheet - Page 60
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
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: 60 of 98
- Download datasheet (2Mb)
www.DataSheet.in
PIC12F508/509/16F505
BTFSS
Syntax:
Operands:
Operation:
Status Affected: None
Description:
CALL
Syntax:
Operands:
Operation:
Status Affected: None
Description:
CLRF
Syntax:
Operands:
Operation:
Status Affected: Z
Description:
DS41236B-page 58
Bit Test f, Skip if Set
[ label ] BTFSS f,b
0
0
skip if (f<b>) = 1
If bit ‘b’ in register ‘f’ is ‘1’, then the
next instruction is skipped.
If bit ‘b’ is ‘1’, 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.
Subroutine Call
[ label ] CALL k
0
(PC) + 1
k
(STATUS<6:5>)
0
Subroutine call. First, return
address (PC + 1) is PUSHed onto
the stack. The eight-bit immediate
address is loaded into PC
bits <7:0>. The upper bits
PC<10:9> are loaded from
STATUS<6:5>, PC<8> is cleared.
CALL is a two-cycle instruction.
Clear f
[ label ] CLRF
0
00h
1
The contents of register ‘f’ are
cleared and the Z bit is set.
f
b < 7
k
f
PC<7:0>;
PC<8>
Z
31
31
(f);
255
Top-of-Stack;
f
PC<10:9>;
Preliminary
CLRW
Syntax:
Operands:
Operation:
Status Affected: Z
Description:
CLRWDT
Syntax:
Operands:
Operation:
Status Affected: TO, PD
Description:
COMF
Syntax:
Operands:
Operation:
Status Affected: Z
Description:
Clear W
[ label ] CLRW
None
00h
1
The W register is cleared. Zero bit
(Z) is set.
Clear Watchdog Timer
[ label ] CLRWDT
None
00h
0
1
1
The CLRWDT instruction resets the
WDT. It also resets the prescaler, if
the prescaler is assigned to the
WDT and not Timer0. Status bits
TO and PD are set.
Complement f
[ label ] COMF
0
d
(f)
The contents of register ‘f’ are
complemented. If ‘d’ is ‘0’, the
result is stored in the W register. If
‘d’ is ‘1’, the result is stored back in
register ‘f’.
f
[0,1]
Z
WDT prescaler (if assigned);
TO;
PD
(dest)
© 2005 Microchip Technology Inc.
31
(W);
WDT;
f,d
Related parts for 12F508
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![CD4040BMJ/883](/images/manufacturer_photos/0/4/469/national_semiconductor_tmb.jpg)
Part Number:
Description:
12-STAGE RIPPLE CARRY BINARY COUNTER
Manufacturer:
National Semiconductor
![MSC7112-01SS](/images/no-image3.png)
Part Number:
Description:
12-Segment x 16-Digit or 16-Segment x 12-Digit Display Controller/Driver
Manufacturer:
OKI Semiconductor
![MSC7110-01GS-2K](/images/no-image3.png)
Part Number:
Description:
12-segment x 16-digit or 16-segment x 12-digit display controller/driver
Manufacturer:
OKI Electronic Components
![MSC7112](/images/no-image3.png)
Part Number:
Description:
12 Segment, 16 Digit / 16 Segment, 12 Digit Display Controllers
Manufacturer:
OKI Semiconductor
Datasheet:
![MSC7110-01](/images/no-image3.png)
Part Number:
Description:
12-Segment x 16-Digit or 16-Segment x12-Digit Display Controller/Driver
Manufacturer:
OKI Electronic Components
![MSK5010-12BTD](/images/no-image3.png)
Part Number:
Description:
12 V,High current, super low dropout fixed voltage regulator
Manufacturer:
M.S. Kennedy Corp.
![FST16292](/images/manufacturer_photos/0/2/252/fairchild_semiconductor_tmb.jpg)
Part Number:
Description:
12-Bit to 24-Bit Multiplexer-Demultiplexer Bus Switch
Manufacturer:
Fairchild Semiconductor
Datasheet:
![FST16292CW](/images/manufacturer_photos/0/2/252/fairchild_semiconductor_tmb.jpg)
Part Number:
Description:
12-Bit to 24-Bit Multiplexer/Demultiplexer Bus Switch
Manufacturer:
Fairchild Semiconductor
Datasheet:
![FST16292MTDX_NL](/images/manufacturer_photos/0/2/252/fairchild_semiconductor_tmb.jpg)
Part Number:
Description:
12-Bit to 24-Bit Multiplexer/Demultiplexer Bus Switch
Manufacturer:
Fairchild Semiconductor
Datasheet:
![FST16292MTD](/images/manufacturer_photos/0/2/252/fairchild_semiconductor_tmb.jpg)
Part Number:
Description:
12 Bit to 24 Bit Multiplexer/Demultiplexer Bus Switch
Manufacturer:
Fairchild Semiconductor
Datasheet:
![LS460](/images/no-image3.png)
Part Number:
Description:
12 Volt Input Dual Tube CCFT Inverter Brightness Control
Manufacturer:
Taiyo Yuden (U.S.A.), Inc.
![CD4020BMN](/images/manufacturer_photos/0/4/469/national_semiconductor_tmb.jpg)
Part Number:
Description:
12/14-Stage Ripple Carry Binary Counters
Manufacturer:
National Semiconductor
![CD4040BC](/images/manufacturer_photos/0/2/252/fairchild_semiconductor_tmb.jpg)
Part Number:
Description:
12-Stage Ripple Carry Binary Counters
Manufacturer:
Fairchild Semiconductor