参数资料
型号: PIC12C672T-10/SM
厂商: Microchip Technology
文件页数: 109/129页
文件大小: 0K
描述: IC MCU OTP 2KX14 A/D 8-SOIJ
产品培训模块: Asynchronous Stimulus
标准包装: 2,100
系列: PIC® 12C
核心处理器: PIC
芯体尺寸: 8-位
速度: 10MHz
外围设备: POR,WDT
输入/输出数: 5
程序存储器容量: 3.5KB(2K x 14)
程序存储器类型: OTP
RAM 容量: 128 x 8
电压 - 电源 (Vcc/Vdd): 3 V ~ 5.5 V
数据转换器: A/D 4x8b
振荡器型: 内部
工作温度: 0°C ~ 70°C
封装/外壳: 8-SOIC(0.209",5.30mm 宽)
包装: 带卷 (TR)
配用: XLT08SO-1-ND - SOCKET TRANSITION 8SOIC 150/208
AC164312-ND - MODULE SKT FOR PM3 16SOIC
309-1048-ND - ADAPTER 8-SOIC TO 8-DIP
309-1047-ND - ADAPTER 8-SOIC TO 8-DIP
PIC12C67X
DS30561B-page 80
1999 Microchip Technology Inc.
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
complement 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
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 regis-
ter '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描述
PIC12C672-04E/P IC MCU OTP 2KX14 A/D 8DIP
PIC12C671T-10/SM IC MCU OTP 1KX14 A/D 8-SOIJ
PIC12C671-04E/P IC MCU OTP 1KX14 A/D 8DIP
VI-JWT-IX-S CONVERTER MOD DC/DC 6.5V 75W
VI-JWR-IX-S CONVERTER MOD DC/DC 7.5V 75W
相关代理商/技术参数
参数描述
PIC12C67X 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontroller with A/D Converter and EEPROM Data Memory
PIC12C67X_13 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontroller with A/D Converter and EEPROM Data Memory
PIC12CE-04/EJW 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CE-04/EP 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CE-04/ESM 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers