参数资料
型号: PIC12CE674-10/P
厂商: Microchip Technology
文件页数: 109/129页
文件大小: 0K
描述: IC MCU OTP 2KX14 A/D&EE 8DIP
产品培训模块: Asynchronous Stimulus
8-bit PIC® Microcontroller Portfolio
标准包装: 60
系列: PIC® 12C
核心处理器: PIC
芯体尺寸: 8-位
速度: 10MHz
外围设备: POR,WDT
输入/输出数: 5
程序存储器容量: 3.5KB(2K x 14)
程序存储器类型: OTP
EEPROM 大小: 16 x 8
RAM 容量: 128 x 8
电压 - 电源 (Vcc/Vdd): 3 V ~ 5.5 V
数据转换器: A/D 4x8b
振荡器型: 内部
工作温度: 0°C ~ 70°C
封装/外壳: 8-DIP(0.300",7.62mm)
包装: 管件
配用: ISPICR1-ND - ADAPTER IN-CIRCUIT PROGRAMMING
AC124001-ND - MODULE SKT PROMATEII 8DIP/SOIC
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描述
PIC16F628-04/P IC MCU FLASH 2KX14 COMP 18DIP
PIC24FJ32GA002-I/SO IC PIC MCU FLASH 32KB 28SOIC
PIC24FJ16GA002-I/SP IC PIC MCU FLASH 16K 28-DIP
PIC18LF25J11-I/SS IC PIC MCU FLASH 32K 2V 28-SSOP
PIC16CE623-04I/SO IC MCU OTP 512X14 EE COMP 18SOIC
相关代理商/技术参数
参数描述
PIC12CE67X 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontroller with A/D Converter and EEPROM Data Memory
PIC12CR509 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CR509A 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CR509A-04/EJW 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CR509A-04/EP 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers