参数资料
型号: PIC12CE674/JW
厂商: Microchip Technology
文件页数: 109/129页
文件大小: 0K
描述: IC MCU EPROM 2KX14 A/D&EE 8CDIP
标准包装: 56
系列: PIC® 12C
核心处理器: PIC
芯体尺寸: 8-位
速度: 10MHz
外围设备: POR,WDT
输入/输出数: 5
程序存储器容量: 3.5KB(2K x 14)
程序存储器类型: EPROM,UV
EEPROM 大小: 16 x 8
RAM 容量: 128 x 8
电压 - 电源 (Vcc/Vdd): 3 V ~ 5.5 V
数据转换器: A/D 4x8b
振荡器型: 内部
工作温度: 0°C ~ 70°C
封装/外壳: 8-CDIP(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描述
PIC12F1840-I/MF MCU 7KB FLASH 256B RAM 8-DFN
PIC12F519-I/MC IC PIC MCU FLASH 1KX12 8DFN
PIC12F675T-E/MF IC MCU CMOS 1K FLASH W/AD 8-DFN
PIC12F683T-E/MF IC MCU FLASH 2KX14 8DFN
PIC12HV752-E/P IC MCU 8BIT 1024B FLASH 8-PDIP
相关代理商/技术参数
参数描述
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