參數(shù)資料
型號: 24C02SC
廠商: Microchip Technology Inc.
英文描述: 2K 5.0V IIC serial EEPROMs(2.5V~5.5V,2K位,1M次擦寫周期,ISO7816標準)
中文描述: 2K 5.0V國際進口電壓(2.5V?5.5V的和2K位,100萬次擦寫周期,符合ISO7816標準串行EEPROM)
文件頁數(shù): 121/170頁
文件大小: 4191K
代理商: 24C02SC
2003 Microchip Technology Inc.
Preliminary
DS40300C-page 119
PIC16F62X
SUBWF
Subtract W from f
Syntax:
[
label
]
SUBWF f,d
Operands:
0
f
127
d
[0,1]
Operation:
(f) - (W)
→ (
dest)
Status
Affected:
C, DC, Z
Encoding:
00
0010
dfff
ffff
Description:
Subtract (2’s complement method)
W register from 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'.
Words:
1
Cycles:
1
Example 1:
SUBWF
REG1, 1
Before Instruction
REG1 = 3
W
C
= 2
=
After Instruction
REG1 = 1
W
C
Z
= 2
= 1; result is positive
= DC = 1
Example 2:
Before Instruction
REG1 = 2
W
C
= 2
=
After Instruction
REG1 = 0
W
C
Z
= 2
= 1; result is zero
= DC = 1
Example 3:
Before Instruction
REG1 = 1
W
C
= 2
=
After Instruction
REG1 = 0xFF
W
= 2
C
= 0; result is negative
Z
= DC = 0
SWAPF
Swap Nibbles in f
Syntax:
[
label
]
SWAPF f,d
Operands:
0
f
127
d
[0,1]
Operation:
(f<3:0>)
(dest<7:4>),
(f<7:4>)
(dest<3:0>)
Status Affected:
None
Encoding:
00
1110
dfff
ffff
Description:
The upper and lower nibbles of
register 'f' are exchanged. If 'd' is
0 the result is placed in W
register. If 'd' is 1 the result is
placed in register 'f'.
Words:
1
Cycles:
1
Example
SWAPF
REG1, 0
Before Instruction
REG1 = 0xA5
After Instruction
REG1 =
W
0xA5
0x5A
=
TRIS
Load TRIS Register
Syntax:
[
label
] TRIS
5
f
7
(W)
TRIS register f;
f
Operands:
Operation:
Status Affected:
None
Encoding:
00
0000
0110
0fff
Description:
The instruction is supported for
code compatibility with the
PIC16C5X products. Since TRIS
registers are readable and
writable, the user can directly
address them.
Words:
1
Cycles:
1
Example
To maintain upward
compatibility with future
PICmicro
products, do not
use this instruction.
相關PDF資料
PDF描述
24C02A 2K 5.0V CMOS serial EEPROMs(2K位,5.0V,IIC串行EEPROM)
24C02C 2K 5.0V IIC serial EEPROMs(2K位,1M次擦寫周期,硬件寫保護,二線串行接口,EEPROM)
24C02C-EP 2K 5.0V I 2 C ⑩ Serial EEPROM
24C02C-ESN 2K 5.0V I 2 C ⑩ Serial EEPROM
24C02C-EST 2K 5.0V I 2 C ⑩ Serial EEPROM
相關代理商/技術參數(shù)
參數(shù)描述
24C02SC/S 制造商:未知廠家 制造商全稱:未知廠家 功能描述:SERIAL EEPROM|256X8|CMOS|DIE
24C02SC-/S 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:1K/2K 5.0V I2C Serial EEPROMs for Smart Cards
24C02SC/S08 制造商:未知廠家 制造商全稱:未知廠家 功能描述:SERIAL EEPROM|256X8|CMOS|DIE
24C02SC-/S08 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:1K/2K 5.0V I2C Serial EEPROMs for Smart Cards
24C02SC/W 制造商:未知廠家 制造商全稱:未知廠家 功能描述:SERIAL EEPROM|256X8|CMOS|WAFER