PIC18F47J53 FAMILY
DS39964B-page 502
Preliminary
2010 Microchip Technology Inc.
29.2.2
EXTENDED INSTRUCTION SET
ADDFSR
Add Literal to FSR
Syntax:
ADDFSR f, k
Operands:
0
k 63
f
[ 0, 1, 2 ]
Operation:
FSR(f) + k
FSR(f)
Status Affected:
None
Encoding:
1110
1000
ffkk
kkkk
Description:
The 6-bit literal ‘k’ is added to the
contents of the FSR specified by ‘f’.
Words:
1
Cycles:
1
Q Cycle Activity:
Q1
Q2
Q3
Q4
Decode
Read
literal ‘k’
Process
Data
Write to
FSR
Example:
ADDFSR 2, 23h
Before Instruction
FSR2
=
03FFh
After Instruction
FSR2
=
0422h
ADDULNK
Add Literal to FSR2 and Return
Syntax:
ADDULNK k
Operands:
0
k 63
Operation:
FSR2 + k
FSR2,
(TOS)
PC
Status Affected:
None
Encoding:
1110
1000
11kk
kkkk
Description:
The 6-bit literal ‘k’ is added to the
contents of FSR2. A RETURN is then
executed by loading the PC with the
TOS.
The instruction takes two cycles to
execute; a NOP is performed during
the second cycle.
This may be thought of as a special
case of the ADDFSR instruction,
where f = 3 (binary ‘11’); it operates
only on FSR2.
Words:
1
Cycles:
2
Q Cycle Activity:
Q1
Q2
Q3
Q4
Decode
Read
literal ‘k’
Process
Data
Write to
FSR
No
Operation
No
Operation
No
Operation
No
Operation
Example:
ADDULNK 23h
Before Instruction
FSR2
=
03FFh
PC
=
0100h
After Instruction
FSR2
=
0422h
PC
=
(TOS)
Note:
All PIC18 instructions may take an optional label argument preceding the instruction mnemonic for use in
symbolic addressing. If a label is used, the instruction format then becomes: {label} instruction argument(s).
相关PDF资料
PIC18F67J50-I/PT IC PIC MCU FLASH 64KX16 64TQFP
PIC32MX230F064D-I/ML IC MCU 32BIT 64KB FLASH 44-QFN
PIC32MX150F128D-I/ML IC MCU 32BIT 128KB FLASH 44-QFN
PIC24FJ64GB002-I/SS MCU 64KB FLASH 8KB RAM 28-SSOP
TS80C31X2-MCA IC MCU 8BIT 40/20MHZ 40-DIP
PIC24HJ32GP304-I/PT IC PIC MCU FLASH 32K 44TQFP
PIC18F46J53-I/ML IC PIC MCU 64KB FLASH 44QFN
PIC32MX230F064D-I/TL IC MCU 32BIT 64KB FLASH 44-VTLA
相关代理商/技术参数
PIC18F66K90T-I/MR 功能描述:8位微控制器 -MCU 64kB 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
PIC18F66K90T-I/MRRSL 功能描述:8位微控制器 -MCU 64KB Flash 4KB RAM nanoWatt XLP 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
PIC18F66K90T-I/PT 功能描述:8位微控制器 -MCU 64kB 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
PIC18F66K90T-I/PTRSL 功能描述:8位微控制器 -MCU 64KB Flash 4KB RAM nanoWatt XLP 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
PIC18F6720-E/PT 功能描述:8位微控制器 -MCU 128KB 3840 RAM 52I/O 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
PIC18F6720-I/PT 功能描述:8位微控制器 -MCU 128KB 3840 RAM 52I/O 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
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