參數(shù)資料
型號(hào): PIC18F85K90-I/PTRSL
廠(chǎng)商: Microchip Technology
文件頁(yè)數(shù): 48/110頁(yè)
文件大?。?/td> 0K
描述: MCU PIC 32K FLASH XLP 80TQFP
產(chǎn)品培訓(xùn)模塊: 8-bit PIC® Microcontroller Portfolio
標(biāo)準(zhǔn)包裝: 119
系列: PIC® XLP™ 18F
核心處理器: PIC
芯體尺寸: 8-位
速度: 64MHz
連通性: I²C,LIN,SPI,UART/USART
外圍設(shè)備: 欠壓檢測(cè)/復(fù)位,LCD,POR,PWM,WDT
輸入/輸出數(shù): 69
程序存儲(chǔ)器容量: 32KB(16K x 16)
程序存儲(chǔ)器類(lèi)型: 閃存
EEPROM 大?。?/td> 1K x 8
RAM 容量: 2K x 8
電壓 - 電源 (Vcc/Vdd): 1.8 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 24x12b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 80-TQFP
包裝: 托盤(pán)
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(chǎn)’ is ‘0’, the Access Bank is selected.
If ‘a(chǎn)’ is ‘1’, the BSR is used to select the
GPR bank (default).
If ‘a(chǎn)’ 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
相關(guān)PDF資料
PDF描述
TSC80251G2D-16CB IC MCU 8BIT 16MHZ HI SPD 44-PLCC
52610-2690 CONN FFC/FPC 26POS 1MM VERT SMD
TSC80251G2D-24IB IC MCU 8BIT 24MHZ HI SPD 44-PLCC
PIC16F84A-04/P IC MCU FLASH 1KX14 EE 18DIP
DSPIC30F2020-20E/MM IC DSPIC MCU/DSP 12K 28QFN
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC18F85K90T-I/PT 功能描述:8位微控制器 -MCU 32kB Flash 2kB RAM LCD RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線(xiàn)寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC18F85K90T-I/PTRSL 功能描述:8位微控制器 -MCU 32KB Flash 2KB RAM nanoWatt XLP LCD RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線(xiàn)寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC18F8620-E/PT 功能描述:8位微控制器 -MCU 64KB 3840 RAM 68I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線(xiàn)寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC18F8620-I/PT 功能描述:8位微控制器 -MCU 64KB 3840 RAM 68I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線(xiàn)寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC18F8620-I/PT 制造商:Microchip Technology Inc 功能描述:IC 8BIT FLASH MCU 18F8620 TQFP80