参数资料
型号: PIC18F87K90-I/PTRSL
厂商: Microchip Technology
文件页数: 48/110页
文件大小: 0K
描述: MCU PIC 128K FLASH XLP 80TQFP
产品培训模块: 8-bit PIC® Microcontroller Portfolio
标准包装: 119
系列: PIC® XLP™ 18F
核心处理器: PIC
芯体尺寸: 8-位
速度: 64MHz
连通性: I²C,LIN,SPI,UART/USART
外围设备: 欠压检测/复位,LCD,POR,PWM,WDT
输入/输出数: 69
程序存储器容量: 128KB(64K x 16)
程序存储器类型: 闪存
EEPROM 大小: 1K x 8
RAM 容量: 4K x 8
电压 - 电源 (Vcc/Vdd): 1.8 V ~ 5.5 V
数据转换器: A/D 24x12b
振荡器型: 内部
工作温度: -40°C ~ 85°C
封装/外壳: 80-TQFP
包装: 托盘
2010 Microchip Technology Inc.
Preliminary
DS39964B-page 495
PIC18F47J53 FAMILY
SUBLW
Subtract W from Literal
Syntax:
SUBLW k
Operands:
0
k 255
Operation:
k – (W)
W
Status Affected:
N, OV, C, DC, Z
Encoding:
0000
1000
kkkk
Description:
W is subtracted from the eight-bit
literal ‘k’. The result is placed in W.
Words:
1
Cycles:
1
Q Cycle Activity:
Q1
Q2
Q3
Q4
Decode
Read
literal ‘k’
Process
Data
Write to
W
Example 1:
SUBLW
02h
Before Instruction
W
=
01h
C=
?
After Instruction
W
=
01h
C=
1
; result is positive
Z=
0
N=
0
Example 2:
SUBLW
02h
Before Instruction
W
=
02h
C=
?
After Instruction
W
=
00h
C=
1
; result is zero
Z=
1
N=
0
Example 3:
SUBLW
02h
Before Instruction
W
=
03h
C=
?
After Instruction
W
=
FFh
; (2’s complement)
C=
0
; result is negative
Z=
0
N=
1
SUBWF
Subtract W from f
Syntax:
SUBWF
f {,d {,a}}
Operands:
0
f 255
d
[0,1]
a
[0,1]
Operation:
(f) – (W)
dest
Status Affected:
N, OV, C, DC, Z
Encoding:
0101
11da
ffff
Description:
Subtract W from register ‘f’ (2’s
complement method). If ‘d’ is ‘0’, the
result is stored in W. If ‘d’ is ‘1’, the result
is stored back in register ‘f’ (default).
If ‘a’ is ‘0’, the Access Bank is selected.
If ‘a’ is ‘1’, the BSR is used to select the
GPR bank (default).
If ‘a’ is ‘0’ and the extended instruction
set is enabled, this instruction operates
in Indexed Literal Offset Addressing
mode whenever f
95 (5Fh). See
Words:
1
Cycles:
1
Q Cycle Activity:
Q1
Q2
Q3
Q4
Decode
Read
register ‘f’
Process
Data
Write to
destination
Example 1:
SUBWF
REG, 1, 0
Before Instruction
REG
=
3
W=
2
C=
?
After Instruction
REG
=
1
W=
2
C
=
1
; result is positive
Z=
0
N=
0
Example 2:
SUBWF
REG, 0, 0
Before Instruction
REG
=
2
W=
2
C=
?
After Instruction
REG
=
2
W=
0
C
=
1
; result is zero
Z=
1
N=
0
Example 3:
SUBWF
REG, 1, 0
Before Instruction
REG
=
1
W=
2
C=
?
After Instruction
REG
=
FFh ;(2’s complement)
W=
2
C
=
0
; result is negative
Z=
0
N=
1
相关PDF资料
PDF描述
V300C12H150BG3 CONVERTER MOD DC/DC 12V 150W
V300C12H150BG2 CONVERTER MOD DC/DC 12V 150W
V300C12H150BG CONVERTER MOD DC/DC 12V 150W
PIC16C622-20/P IC MCU OTP 2KX14 COMP 18DIP
VE-BTX-IW-F1 CONVERTER MOD DC/DC 5.2V 100W
相关代理商/技术参数
参数描述
PIC18F87K90T-I/PT 功能描述:8位微控制器 -MCU 128kB Flash 4kB RAM LCD RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F87K90T-I/PTRSL 功能描述:8位微控制器 -MCU 128KB 4KB RAM 16MIPS nanoWatt XLP LCD 5V RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F95J94-I/PF 制造商:Microchip Technology Inc 功能描述:100 PINS, 32KB FLASH, 4KB RAM, 16MIPS, NANOWATT XLP, LCD, US - Trays 制造商:Microchip Technology Inc 功能描述:IC MCU 8BIT 32KB FLASH 100TQFP 制造商:Microchip Technology Inc 功能描述:100 pins, 32KB Flash, 4KB RAM, 16MIPS, nanoWatt XLP, LCD, USB, 100 TQFP 14x14x1m
PIC18F95J94-I/PT 制造商:Microchip Technology Inc 功能描述:100 PINS, 32KB FLASH, 4KB RAM, 16MIPS, NANOWATT XLP, LCD, US - Trays 制造商:Microchip Technology Inc 功能描述:IC MCU 8BIT 32KB FLASH 100TQFP
PIC18F95J94T-I/PF 制造商:Microchip Technology Inc 功能描述:100 PINS, 32KB FLASH, 4KB RAM, 16MIPS, NANOWATT XLP, LCD, US - Tape and Reel 制造商:Microchip Technology Inc 功能描述:IC MCU 8BIT 32KB FLASH 100TQFP 制造商:Microchip Technology Inc 功能描述:8-bit Microcontrollers - MCU 100 pins, 32KB Flash 4KB RAM, 16MIPS 制造商:Microchip Technology Inc 功能描述:100 pins, 32KB Flash, 4KB RAM, 16MIPS, nanoWatt XLP, LCD, USB, 100 TQFP 14x14x1m