欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC18F2450-I/SO 参数 Datasheet PDF下载

PIC18F2450-I/SO图片预览
型号: PIC18F2450-I/SO
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚,高性能, 12 MIPS ,增强型闪存, USB微控制器采用纳瓦技术 [28/40/44-Pin, High-Performance, 12 MIPS, Enhanced Flash, USB Microcontrollers with nanoWatt Technology]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管PC时钟
文件页数/大小: 320 页 / 5591 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18F2450-I/SO的Datasheet PDF文件第209页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第210页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第211页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第212页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第214页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第215页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第216页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第217页  
PIC18F2450/4450  
The literal instructions may use some of the following  
operands:  
19.0 INSTRUCTION SET SUMMARY  
PIC18F2450/4450 devices incorporate the standard  
set of 75 PIC18 core instructions, as well as an  
extended set of eight new instructions for the  
optimization of code that is recursive or that utilizes a  
software stack. The extended set is discussed later in  
this section.  
• A literal value to be loaded into a file register  
(specified by ‘k’)  
• The desired FSR register to load the literal value  
into (specified by ‘f’)  
• No operand required  
(specified by ‘—’)  
19.1 Standard Instruction Set  
The control instructions may use some of the following  
operands:  
The standard PIC18 instruction set adds many  
enhancements to the previous PICmicro instruction  
sets, while maintaining an easy migration from these  
PICmicro instruction sets. Most instructions are a  
single program memory word (16 bits) but there are  
four instructions that require two program memory  
locations.  
• A program memory address (specified by ‘n’)  
• The mode of the CALLor RETURNinstructions  
(specified by ‘s’)  
• The mode of the table read and table write  
instructions (specified by ‘m’)  
• No operand required  
(specified by ‘—’)  
Each single-word instruction is a 16-bit word divided  
into an opcode, which specifies the instruction type and  
one or more operands, which further specify the  
operation of the instruction.  
All instructions are a single word, except for four  
double-word instructions. These instructions were  
made double-word to contain the required information  
in 32 bits. In the second word, the 4 MSbs are ‘1’s. If  
this second word is executed as an instruction (by  
itself), it will execute as a NOP.  
The instruction set is highly orthogonal and is grouped  
into four basic categories:  
Byte-oriented operations  
Bit-oriented operations  
Literal operations  
All single-word instructions are executed in a single  
instruction cycle, unless a conditional test is true or the  
program counter is changed as a result of the instruc-  
tion. In these cases, the execution takes two instruction  
cycles with the additional instruction cycle(s) executed  
as a NOP.  
Control operations  
The PIC18 instruction set summary in Table 19-2 lists  
byte-oriented, bit-oriented, literal and control  
operations. Table 19-1 shows the opcode field  
descriptions.  
The double-word instructions execute in two instruction  
cycles.  
Most byte-oriented instructions have three operands:  
One instruction cycle consists of four oscillator periods.  
Thus, for an oscillator frequency of 4 MHz, the normal  
instruction execution time is 1 μs. If a conditional test is  
true, or the program counter is changed as a result of  
an instruction, the instruction execution time is 2 μs.  
Two-word branch instructions (if true) would take 3 μs.  
1. The file register (specified by ‘f’)  
2. The destination of the result (specified by ‘d’)  
3. The accessed memory (specified by ‘a’)  
The file register designator ‘f’ specifies which file  
register is to be used by the instruction. The destination  
designator ‘d’ specifies where the result of the  
operation is to be placed. If ‘d’ is zero, the result is  
placed in the WREG register. If ‘d’ is one, the result is  
placed in the file register specified in the instruction.  
Figure 19-1 shows the general formats that the  
instructions can have. All examples use the convention  
‘nnh’ to represent a hexadecimal number.  
The Instruction Set Summary, shown in Table 19-2,  
lists the standard instructions recognized by the  
Microchip MPASMTM Assembler.  
All bit-oriented instructions have three operands:  
1. The file register (specified by ‘f’)  
Section 19.1.1 “Standard Instruction Set” provides  
a description of each instruction.  
2. The bit in the file register (specified by ‘b’)  
3. The accessed memory (specified by ‘a’)  
The bit field designator ‘b’ selects the number of the bit  
affected by the operation, while the file register  
designator ‘f’ represents the number of the file in which  
the bit is located.  
© 2006 Microchip Technology Inc.  
Advance Information  
DS39760A-page 211  
 复制成功!