參數(shù)資料
型號: PIC18F66K90T-I/MR
廠商: Microchip Technology
文件頁數(shù): 48/110頁
文件大小: 0K
描述: IC MCU 8BIT 64KB FLASH 64QFN
標準包裝: 3,300
系列: PIC® XLP™ 18F
核心處理器: PIC
芯體尺寸: 8-位
速度: 64MHz
連通性: I²C,LIN,SPI,UART/USART
外圍設(shè)備: 欠壓檢測/復位,LCD,POR,PWM,WDT
輸入/輸出數(shù): 53
程序存儲器容量: 64KB(32K x 16)
程序存儲器類型: 閃存
EEPROM 大小: 1K x 8
RAM 容量: 4K x 8
電壓 - 電源 (Vcc/Vdd): 1.8 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 16x12b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 64-VFQFN 裸露焊盤
包裝: 帶卷 (TR)
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描述
PIC18F66K90T-I/MRRSL MCU 8BIT 64K FLASH 64-QFN
DSPIC33FJ32MC302-I/MM IC DSPIC MCU/DSP 32K 28-QFN
DSPIC30F1010T-30I/MM IC DSPIC MCU/DSP 6K 28QFN
PIC16C716-04/SO IC MCU OTP 2KX14 A/D PWM 18SOIC
ISL84714IHZ-T IC SWITCH SPDT SC70-6
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC18F6720-E/PT 功能描述:8位微控制器 -MCU 128KB 3840 RAM 52I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
PIC18F6720-I/PT 功能描述:8位微控制器 -MCU 128KB 3840 RAM 52I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
PIC18F6720-I/PT 制造商:Microchip Technology Inc 功能描述:IC 8BIT FLASH MCU 18F6720 TQFP64
PIC18F6720-I/PTC01 制造商:Microchip Technology 功能描述:MCU 8-Bit PIC18 PIC RISC 128KB Flash 5V 64-Pin TQFP Tray
PIC18F6720T-E/PT 功能描述:8位微控制器 -MCU 25MHz 128KB Flash RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT