DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16F753-I/SLQTP 데이터 시트보기 (PDF) - Microchip Technology

부품명
상세내역
제조사
PIC16F753-I/SLQTP
Microchip
Microchip Technology 
PIC16F753-I/SLQTP Datasheet PDF : 238 Pages
First Prev 151 152 153 154 155 156 157 158 159 160 Next Last
18.2 Instruction Descriptions
ADDLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
Add literal and W
[ label ] ADDLW k
0 k 255
(W) + k (W)
C, DC, Z
The contents of the W register
are added to the 8-bit literal ‘k’
and the result is placed in the
W register.
ADDWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
Add W and f
[ label ] ADDWF f,d
0 f 127
d 0,1
(W) + (f) (destination)
C, DC, Z
Add the contents of the W register
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’.
ANDLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
AND literal with W
[ label ] ANDLW k
0 k 255
(W) .AND. (k) (W)
Z
The contents of W register are
AND’ed with the 8-bit literal ‘k’.
The result is placed in the W
register.
ANDWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
AND W with f
[ label ] ANDWF f,d
0 f 127
d 0,1
(W) .AND. (f) (destination)
Z
AND the W register 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’.
PIC16F753/HV753
BCF
Syntax:
Operands:
Operation:
Status Affected:
Description:
Bit Clear f
[ label ] BCF f,b
0 f 127
0b7
0 (f<b>)
None
Bit ‘b’ in register ‘f’ is cleared.
BSF
Syntax:
Operands:
Operation:
Status Affected:
Description:
Bit Set f
[ label ] BSF f,b
0 f 127
0b7
1 (f<b>)
None
Bit ‘b’ in register ‘f’ is set.
BTFSC
Bit Test f, Skip if Clear
Syntax:
Operands:
Operation:
Status Affected:
Description:
[ label ] BTFSC f,b
0 f 127
0b7
skip if (f<b>) = 0
None
If bit ‘b’ in register ‘f’ is ‘1’, the next
instruction is executed.
If bit ‘b’ in register ‘f’ is ‘0’, the next
instruction is discarded, and a NOP
is executed instead, making this a
two-cycle instruction.
2013 Microchip Technology Inc.
Preliminary
DS40001709A-page 153

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]