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

AN1063D 参数 Datasheet PDF下载

AN1063D图片预览
型号: AN1063D
PDF下载: 下载PDF文件 查看货源
内容描述: 集成的处理器与DMA USERA ????手册 [Integrated Processor with DMA User’s Manual]
分类和应用:
文件页数/大小: 441 页 / 2488 K
品牌: FREESCALE [ Freescale ]
 浏览型号AN1063D的Datasheet PDF文件第169页浏览型号AN1063D的Datasheet PDF文件第170页浏览型号AN1063D的Datasheet PDF文件第171页浏览型号AN1063D的Datasheet PDF文件第172页浏览型号AN1063D的Datasheet PDF文件第174页浏览型号AN1063D的Datasheet PDF文件第175页浏览型号AN1063D的Datasheet PDF文件第176页浏览型号AN1063D的Datasheet PDF文件第177页  
Freescale Semiconductor, Inc.  
5.3.4.5 Table Example 5: Surface Interpolations. The various forms of table can be  
used to perform surface (3D) TBLs. However, since the calculation must be split into a  
series of 2D TBLs, the possibility of losing precision in the intermediate results is possible.  
The following code sequence, incorporating both TBLS and TBLSN, eliminates this  
possibility.  
L0:  
MOVE.W  
TBLSN.B  
TBLSN.B  
TBLS.W  
ASR.L  
Dx, Dl  
ea , Dx  
ea , Dl  
Dx:Dl, Dm  
#8, Dm  
L1  
Copy entry number and fraction number  
Surface interpolation, with round  
Read just the result  
No round necessary  
Half round up  
BCC.B  
ADDQ.B  
#1, Dl  
L1: . . .  
Before execution of this code sequence, Dx must contain fraction and entry numbers for  
the two TBL, and Dm must contain the fraction for surface interpolation. The ea fields in  
the TBLSN instructions point to consecutive columns in a 3D table. The TBLS size  
parameter must be word if the TBLSN size parameter is byte, and must be long word if  
TBLSN is word. Increased size is necessary because a larger number of significant digits  
is needed to accommodate the scaled fractional results of the 2D TBL.  
5.3.5 Nested Subroutine Calls  
The LINK instruction pushes an address onto the stack, saves the stack address at which  
the address is stored, and reserves an area of the stack for use. Using this instruction in a  
series of subroutine calls will generate a linked list of stack frames.  
The UNLK instruction removes a stack frame from the end of the list by loading an  
address into the SP and pulling the value at that address from the stack. When the  
instruction operand is the address of the link address at the bottom of a stack frame, the  
effect is to remove the stack frame from both the stack and the linked list.  
5.3.6 Pipeline Synchronization with the NOP Instruction  
Although the no operation (NOP) instruction performs no visible operation, it does force  
synchronization of the instruction pipeline, since all previous instructions must complete  
execution before the NOP begins.  
5.4 PROCESSING STATES  
This section describes the processing states of the CPU32. It includes a functional  
description of the bits in the supervisor portion of the SR and an overview of actions taken  
by the processor in response to exception conditions.  
5- 36  
MC68340 USER’S MANUAL  
MOTOROLA  
For More Information On This Product,  
Go to: www.freescale.com  
 复制成功!