参数资料
型号: MTA81010-LPI/P
元件分类: 微控制器/微处理器
英文描述: 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDIP28
封装: PLASTIC, DIP-28
文件页数: 25/76页
文件大小: 745K
代理商: MTA81010-LPI/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
相关PDF资料
PDF描述
MTA81010S-RCI/SO 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDSO28
MTA81010-XTI/P 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDIP28
MTA81010T-XT/SO 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDSO28
MTA81010S-XTI/SO 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDSO28
MTA81010-LPI/SO 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDSO28
相关代理商/技术参数
参数描述
MTA8106DGVRA 功能描述:SW TOGGLE SPDT VERT RT ANG PC 6A RoHS:否 类别:开关 >> 拨动开关 系列:MTA 绿 标准包装:1 系列:A 电路:双刀双掷 开关功能:开-开-开 触点额定电压:6A @ 125VAC 触动器类型:扁平型 触动器长度:11.38mm 发光:不发光 安装类型:面板安装 端接类型:焊片 轴衬螺纹:1/4-40 包装:散装
MTA8106DVRA 功能描述:SWITCH TOGGLE SPDT VRA PC 6A RoHS:否 类别:开关 >> 拨动开关 系列:MTA 绿 标准包装:1 系列:A 电路:双刀双掷 开关功能:开-开-开 触点额定电压:6A @ 125VAC 触动器类型:扁平型 触动器长度:11.38mm 发光:不发光 安装类型:面板安装 端接类型:焊片 轴衬螺纹:1/4-40 包装:散装
MTA8106DVRA04 功能描述:SWITCH TOGGLE SPDT VRA PC 6A RoHS:是 类别:开关 >> 拨动开关 系列:MTA 绿 标准包装:1 系列:A 电路:双刀双掷 开关功能:开-开-开 触点额定电压:6A @ 125VAC 触动器类型:扁平型 触动器长度:11.38mm 发光:不发光 安装类型:面板安装 端接类型:焊片 轴衬螺纹:1/4-40 包装:散装
MTA8106EGRA 功能描述:SW TOGGLE SPDT RT ANG PC 6A RoHS:否 类别:开关 >> 拨动开关 系列:MTA 绿 标准包装:1 系列:A 电路:双刀双掷 开关功能:开-开-开 触点额定电压:6A @ 125VAC 触动器类型:扁平型 触动器长度:11.38mm 发光:不发光 安装类型:面板安装 端接类型:焊片 轴衬螺纹:1/4-40 包装:散装
MTA8106EGRA04 功能描述:SWITCH TOGGLE SPDT RT ANG PC 6A RoHS:是 类别:开关 >> 拨动开关 系列:MTA 绿 标准包装:1 系列:A 电路:双刀双掷 开关功能:开-开-开 触点额定电压:6A @ 125VAC 触动器类型:扁平型 触动器长度:11.38mm 发光:不发光 安装类型:面板安装 端接类型:焊片 轴衬螺纹:1/4-40 包装:散装