參數(shù)資料
型號: PIC12F505
廠商: Microchip Technology Inc.
元件分類: 8位微控制器
英文描述: 8/14-Pin, 8-Bit Flash Microcontrollers
中文描述: 8/14-Pin,8位閃存微控制器
文件頁數(shù): 59/100頁
文件大?。?/td> 741K
代理商: PIC12F505
2007 Microchip Technology Inc.
Preliminary
DS41236C-page 57
PIC12F508/509/16F505
ADDWF
Add W and f
Syntax:
Operands:
[
label
] ADDWF f,d
0
f
31
d
∈ [
0
,
1
]
(W) + (f)
(dest)
Operation:
Status Affected: C, DC, Z
Description:
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’.
ANDLW
AND literal with W
Syntax:
Operands:
Operation:
Status Affected: Z
Description:
[
label
] ANDLW k
0
k
255
(W).AND. (k)
(W)
The contents of the W register are
AND’ed with the eight-bit literal ‘k’.
The result is placed in the W
register.
ANDWF
AND W with f
Syntax:
Operands:
[
label
] ANDWF f,d
0
f
31
d
[0,1]
(W) .AND. (f)
(dest)
Operation:
Status Affected: Z
Description:
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’.
BCF
Bit Clear f
Syntax:
Operands:
[
label
] BCF f,b
0
f
31
0
b
7
0
(f<b>)
None
Bit ‘b’ in register ‘f’ is cleared.
Operation:
Status Affected:
Description:
BSF
Bit Set f
Syntax:
Operands:
[
label
] BSF f,b
0
f
31
0
b
7
1
(f<b>)
None
Operation:
Status Affected:
Description: Bit ‘b’ in register ‘f’ is set.
BTFSC
Bit Test f, Skip if Clear
Syntax:
Operands:
[
label
] BTFSC f,b
0
f
31
0
b
7
skip if (f<b>) =
0
None
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.
Operation:
Status Affected:
Description:
相關(guān)PDF資料
PDF描述
PIC12F506 8/14-Pin, 8-Bit Flash Microcontroller
PIC12F510_07 8/14-Pin, 8-Bit Flash Microcontroller
PIC12F510 8/14-Pin, 8-Bit Flash Microcontroller
PIC12F519 8-Pin, 8-Bit Flash Microcontroller
PIC12F609 8-bit PIC㈢ Microcontrollers with High Voltage Support and Fan Control Capabilities
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC12F505TE/MC 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8/14-Pin, 8-Bit Flash Microcontrollers
PIC12F505TE/MG 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8/14-Pin, 8-Bit Flash Microcontrollers
PIC12F505TE/MS 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8/14-Pin, 8-Bit Flash Microcontrollers
PIC12F505TE/P 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8/14-Pin, 8-Bit Flash Microcontrollers
PIC12F505TE/SL 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8/14-Pin, 8-Bit Flash Microcontrollers