参数资料
型号: PIC14000T-20/SS
厂商: Microchip Technology
文件页数: 4/153页
文件大小: 0K
描述: IC MCU OTP 4KX14 A/D 28SSOP
标准包装: 2,100
系列: PIC® 14
核心处理器: PIC
芯体尺寸: 8-位
速度: 20MHz
连通性: I²C
外围设备: POR,温度传感器,WDT
输入/输出数: 20
程序存储器容量: 7KB(4K x 14)
程序存储器类型: OTP
RAM 容量: 192 x 8
电压 - 电源 (Vcc/Vdd): 2.7 V ~ 6 V
数据转换器: 斜率 A/D
振荡器型: 内部
工作温度: 0°C ~ 70°C
封装/外壳: 28-SSOP(0.209",5.30mm 宽)
包装: 带卷 (TR)
1996 Microchip Technology Inc.
Preliminary
DS40122B-page 101
PIC14000
SUBLW
Subtract W from Literal
Syntax:
[
label ]
SUBLW k
Operands:
0
≤ k ≤ 255
Operation:
k - (W)
→ (W)
Status
Affected:
C, DC, Z
Encoding:
11
110x
kkkk
Description:
The W register is subtracted (2’s com-
plement method) from the eight bit literal
'k'. The result is placed in the W register.
Words:
1
Cycles:
1
Example 1:
SUBLW
0x02
Before Instruction
W=
1
C=
?
After Instruction
W=
1
C
=
1; result is positive
Example 2:
Before Instruction
W=
2
C=
?
After Instruction
W=
0
C
=
1; result is zero
Example 3:
Before Instruction
W=
3
C=
?
After Instruction
W
=
0xFF
C
=
0; result is nega-
tive
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 reg-
ister 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=
2
C=
?
After Instruction
REG1
=
1
W=
2
C
=
1; result is positive
Example 2:
Before Instruction
REG1
=
2
W=
2
C=
?
After Instruction
REG1
=
0
W=
2
C
=
1; result is zero
Example 3:
Before Instruction
REG1
=
1
W=
2
C=
?
After Instruction
REG1
=
0xFF
W=
2
C
=
0; result is negative
相关PDF资料
PDF描述
MT5600SMI-X-L-34.R2 MODEM V.34 SERIAL DATA/FAX 3.3V
VE-22V-IY-S CONVERTER MOD DC/DC 5.8V 50W
VE-22T-IY-S CONVERTER MOD DC/DC 6.5V 50W
PIC14000T-20/SO IC MCU OTP 4KX14 A/D 28SOIC
MT100SEM-L.R1-SP DEVICE SERVER EMBEDDED 3.3V
相关代理商/技术参数
参数描述
PIC-1503 制造商:KODENSHI 制造商全称:KODENSHI KOREA CORP. 功能描述:Photo IC(photodiode with signal processing)
PIC152N-A 制造商:SELEC CONTROLS 功能描述:PROCESS INDICATOR,2 ALARMS,1/8DIN,4DIGIT,RELAY OUTPUT
PIC152N-B-2 制造商:SELEC CONTROLS 功能描述:PROCESS INDICATOR,2 ALARMS,RETRANSMISSION OUTPUT
PIC163F73-I/SP 制造商:Microchip Technology Inc 功能描述:8BIT RISC - Bulk
PIC1655A-278 制造商:GI 功能描述: