參數(shù)資料
型號(hào): PIC12CR509A
廠商: Microchip Technology Inc.
英文描述: 8-Pin, 8-Bit CMOS Microcontrollers
中文描述: 8引腳,8位CMOS微控制器
文件頁(yè)數(shù): 49/113頁(yè)
文件大?。?/td> 1604K
代理商: PIC12CR509A
1999 Microchip Technology Inc.
DS40139E-page 49
PIC12C5XX
ADDWF
Syntax:
Add W and f
[ label ADDWF f,d
0
f
31
d
∈ [0,1]
(W) + (f)
(dest)
C, DC, Z
Operands:
Operation:
Status Affected:
Encoding:
0001
11df
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’
.
1
Words:
Cycles:
Example:
1
ADDWF
FSR, 0
Before Instruction
W
FSR =
After Instruction
W
FSR =
=
0x17
0xC2
=
0xD9
0xC2
ANDLW
Syntax:
And literal with W
[ label ANDLW k
0
k
255
(W).AND. (k)
(W)
Z
Operands:
Operation:
Status Affected:
Encoding:
1110
kkkk
kkkk
Description:
The contents of the W register are
AND’ed with the eight-bit literal 'k'. The
result is placed in the W register
.
1
Words:
Cycles:
Example:
1
ANDLW
0x5F
Before Instruction
W
After Instruction
W
=
0xA3
=
0x03
ANDWF
Syntax:
AND W with f
[ label ANDWF f,d
0
f
31
d
∈ [0,1]
(W) .AND. (f)
(dest)
Z
Operands:
Operation:
Status Affected:
Encoding:
0001
01df
ffff
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'
.
1
Words:
Cycles:
Example:
1
ANDWF
FSR,
1
Before Instruction
W
FSR =
After Instruction
W
FSR =
=
0x17
0xC2
=
0x17
0x02
BCF
Syntax:
Bit Clear f
[ label BCF f,b
0
f
31
0
b
7
0
(f<b>)
None
Operands:
Operation:
Status Affected:
Encoding:
Description:
0100
bbbf
ffff
Bit 'b' in register 'f' is cleared.
Words:
Cycles:
1
1
Example:
Before Instruction
FLAG_REG = 0xC7
After Instruction
FLAG_REG = 0x47
BCF
FLAG_REG, 7
相關(guān)PDF資料
PDF描述
PIC12F505 8/14-Pin, 8-Bit Flash Microcontrollers
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
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC12CR509A-04/EJW 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CR509A-04/EP 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CR509A-04/ESM 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CR509A-04/ESN 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CR509A-04/IJW 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers