參數(shù)資料
型號: MTA81010-RC/P
元件分類: 微控制器/微處理器
英文描述: 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDIP28
封裝: PLASTIC, DIP-28
文件頁數(shù): 25/76頁
文件大?。?/td> 745K
代理商: MTA81010-RC/P
1995 Microchip Technology Inc.
DS39005D-page 31
MTA81010
SUBWF
Subtract W from f
Syntax:
SUBWF f,d
Encoding:
Words:
1
Cycles:
1
Operation:
(f-W)
→ d
Status bits:
C, DC, Z
;SUBWF Example #1
;
clrf
0x20
;f(20h)=0
movlw
1
;wreg=1
subwf
0x20
;f(20h)=f(20h)-wreg=0-1=FFh
;Carry=0; Result is negative
;
;SUBWF Example #2
;
movlw
0xFF;
movwf
0x20
;f(20h)=FFh
clrw
;wreg=0
subwf
0x20
;f(20h)=f(20h)-wreg=FFh-0=FFh
;Carry=1:Result is positive
;
Description:
Subtract (2's complement method) the
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”.
SWAPF
Swap f
Syntax:
SWAPF f,d
Encoding:
Words:
1
Cycles:
1
Operation:
f<0:3>
→ d<4:7>, f<4:7> → d<0:3>;
Status bits:
None
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”.
0000
10df
ffff
0011
10df
ffff
TRIS
Load TRIS Register
Syntax:
TRIS f
Encoding:
Words:
1
Cycles:
1
Operation:
W
→ TRIS register f;
Status bits:
None
Description:
TRIS register f (f = 5, 6 or 7) is loaded
with the contents of the W register.
XORLW
Exclusive OR literal with W
Syntax:
XORLWk
Encoding:
Words:
1
Cycles:
1
Operation:
(W .XOR. k)
→ W
Status bits:
Z
Description:
The contents of the W register are
XOR’ed with the eight bit literal “k”. The
result is placed in the W register.
XORWF
Exclusive OR W with f
Syntax:
XORWF f,d
Encoding:
Words:
1
Cycles:
1
Operation:
(W .XOR. f)
→ d
Status bits:
Z
Description:
Exclusive OR 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”.
0000
0fff
1111
kkkk
0001
10df
ffff
相關(guān)PDF資料
PDF描述
MTA81010-XT/SO 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDSO28
MTA81010S-LPI/SO 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDSO28
MTA81010-LPI/P 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDIP28
MTA81010S-RCI/SO 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDSO28
MTA81010-XTI/P 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDIP28
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MTA8106DGVRA 功能描述:SW TOGGLE SPDT VERT RT ANG PC 6A RoHS:否 類別:開關(guān) >> 撥動開關(guān) 系列:MTA 綠 標(biāo)準(zhǔn)包裝:1 系列:A 電路:雙刀雙擲 開關(guān)功能:開-開-開 觸點額定電壓:6A @ 125VAC 觸動器類型:扁平型 觸動器長度:11.38mm 發(fā)光:不發(fā)光 安裝類型:面板安裝 端接類型:焊片 軸襯螺紋:1/4-40 包裝:散裝
MTA8106DVRA 功能描述:SWITCH TOGGLE SPDT VRA PC 6A RoHS:否 類別:開關(guān) >> 撥動開關(guān) 系列:MTA 綠 標(biāo)準(zhǔn)包裝:1 系列:A 電路:雙刀雙擲 開關(guān)功能:開-開-開 觸點額定電壓:6A @ 125VAC 觸動器類型:扁平型 觸動器長度:11.38mm 發(fā)光:不發(fā)光 安裝類型:面板安裝 端接類型:焊片 軸襯螺紋:1/4-40 包裝:散裝
MTA8106DVRA04 功能描述:SWITCH TOGGLE SPDT VRA PC 6A RoHS:是 類別:開關(guān) >> 撥動開關(guān) 系列:MTA 綠 標(biāo)準(zhǔn)包裝:1 系列:A 電路:雙刀雙擲 開關(guān)功能:開-開-開 觸點額定電壓:6A @ 125VAC 觸動器類型:扁平型 觸動器長度:11.38mm 發(fā)光:不發(fā)光 安裝類型:面板安裝 端接類型:焊片 軸襯螺紋:1/4-40 包裝:散裝
MTA8106EGRA 功能描述:SW TOGGLE SPDT RT ANG PC 6A RoHS:否 類別:開關(guān) >> 撥動開關(guān) 系列:MTA 綠 標(biāo)準(zhǔn)包裝:1 系列:A 電路:雙刀雙擲 開關(guān)功能:開-開-開 觸點額定電壓:6A @ 125VAC 觸動器類型:扁平型 觸動器長度:11.38mm 發(fā)光:不發(fā)光 安裝類型:面板安裝 端接類型:焊片 軸襯螺紋:1/4-40 包裝:散裝
MTA8106EGRA04 功能描述:SWITCH TOGGLE SPDT RT ANG PC 6A RoHS:是 類別:開關(guān) >> 撥動開關(guān) 系列:MTA 綠 標(biāo)準(zhǔn)包裝:1 系列:A 電路:雙刀雙擲 開關(guān)功能:開-開-開 觸點額定電壓:6A @ 125VAC 觸動器類型:扁平型 觸動器長度:11.38mm 發(fā)光:不發(fā)光 安裝類型:面板安裝 端接類型:焊片 軸襯螺紋:1/4-40 包裝:散裝