參數(shù)資料
型號: HCS100
廠商: Microchip Technology Inc.
英文描述: Bi-directional Authenticator(雙向文電鑒別碼)
中文描述: 雙向認證者(雙向文電鑒別碼)
文件頁數(shù): 121/170頁
文件大?。?/td> 4191K
代理商: HCS100
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.
相關(guān)PDF資料
PDF描述
HCS120 Bi-directional Authenticator(雙向文電鑒別碼)
HCS405 Code Hopping Encoder(KeeLoq 碼編碼器)
HCS109HMSR Connector Dust Cap; For Use With:RJ45 Field Bus Hexagonal Jam Nut Receptacles, RJF71B; Accessory Type:RJ Field Bus; Approval Categories:UL94V-0 Flammability rated; Body Material:Metallic Housing; Color:Black; Series:RJ Field Bus
HCS109DMSR Radiation Hardened Dual JK Flip Flop
HCS109KMSR Radiation Hardened Dual JK Flip Flop
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HCS1009-049 制造商:ITT Interconnect Solutions 功能描述:CA121003-7
HCS1009-050 制造商:Sunbank (Meggitt) 功能描述:CCUP20-34
HCS1009-058 制造商:Glenair Inc 功能描述:MS25042-16DA
HCS1009-091 制造商:ITT Interconnect Solutions 功能描述:CB 3C 3#12 PIN RECP BOX
HCS1009-092 制造商:ITT Interconnect Solutions 功能描述:CB 3C 3#12 SKT RECP BOX