没有合适的资源?快使用搜索试试~ 我知道了~
首页ADI DSP汇编指南rev-3.4.pdf
资源详情
资源评论
资源推荐
a
W 5.0
Assembler and Preprocessor Manual
(including the ADSP-BFxxx, ADSP-21xxx, ADSP-TSxxx)
Revision 3.4, May 2010
Part Number
82-000420-04
Analog Devices, Inc.
One Technology Way
Norwood, Mass. 02062-9106
Copyright Information
© 2010 Analog Devices, Inc., ALL RIGHTS RESERVED. This docu-
ment may not be reproduced in any form without prior, express written
consent from Analog Devices, Inc.
Printed in the USA.
Disclaimer
Analog Devices, Inc. reserves the right to change this product without
prior notice. Information furnished by Analog Devices is believed to be
accurate and reliable. However, no responsibility is assumed by Analog
Devices for its use; nor for any infringement of patents or other rights of
third parties which may result from its use. No license is granted by impli-
cation or otherwise under the patent rights of Analog Devices, Inc.
Trademark and Service Mark Notice
The Analog Devices logo, Blackfin, EZ-KIT Lite, SHARC, TigerSHARC,
and VisualDSP++ are registered trademarks of Analog Devices, Inc.
All other brand and product names are trademarks or service marks of
their respective owners.
VisualDSP++ 5.0 Assembler and Preprocessor Manual iii
CONTENTS
PREFACE
Purpose ........................................................................................ xiii
Intended Audience ....................................................................... xiii
Manual Contents ......................................................................... xiv
What’s New in this Manual .......................................................... xiv
Technical or Customer Support .................................................... xiv
Supported Processors ..................................................................... xv
Product Information .................................................................... xvi
Analog Devices Web Site ........................................................ xvi
VisualDSP++ Online Documentation ..................................... xvi
Technical Library CD ............................................................ xvii
EngineerZone ....................................................................... xviii
Social Networking Web Sites ................................................ xviii
Notation Conventions ................................................................ xviii
ASSEMBLER
Assembler Guide ........................................................................... 1-2
Assembler Overview ................................................................ 1-3
Writing Assembly Programs ..................................................... 1-3
Contents
iv VisualDSP++ 5.0 Assembler and Preprocessor Manual
Program Content ................................................................ 1-6
Assembly Instructions ..................................................... 1-6
Assembler Directives ....................................................... 1-6
Preprocessor Commands ................................................. 1-7
Program Structure .............................................................. 1-7
Code File Structure for SHARC Processors .................... 1-10
LDF for SHARC Processors .......................................... 1-11
Code File Structure for TigerSHARC Processors ............ 1-13
LDF for TigerSHARC Processors .................................. 1-14
Code File Structure for Blackfin Processors .................... 1-17
LDF for Blackfin Processors .......................................... 1-18
Program Interfacing Requirements .................................... 1-20
Using Assembler Support for C Structs .................................. 1-21
Preprocessing a Program ........................................................ 1-24
Using Assembler Feature Macros ........................................... 1-25
-D__VISUALDSPVERSION__ Predefined Macro ............ 1-35
Generating Make Dependencies ............................................ 1-37
Reading a Listing File ............................................................ 1-38
Enabling Statistical Profiling for Assembly Functions ............. 1-38
Assembler Syntax Reference ........................................................ 1-41
Assembler Keywords and Symbols ......................................... 1-42
Assembler Expressions ........................................................... 1-54
Assembler Operators ............................................................. 1-55
Numeric Formats .................................................................. 1-60
VisualDSP++ 5.0 Assembler and Preprocessor Manual v
Contents
Representation of Constants in Blackfin ............................ 1-60
Fractional Type Support .................................................... 1-61
1.31 Fracts .................................................................... 1-62
1.0r Special Case ........................................................... 1-63
Fractional Arithmetic .................................................... 1-63
Mixed Type Arithmetic ................................................. 1-63
Comment Conventions ......................................................... 1-64
Conditional Assembly Directives ............................................ 1-64
C Struct Support in Assembly Built-In Functions ................... 1-67
OFFSETOF Built-In Function .......................................... 1-67
SIZEOF Built-In Function ................................................ 1-67
Struct References ................................................................... 1-68
Assembler Directives .............................................................. 1-71
.ALIGN, Specify an Address Alignment ............................. 1-76
.ALIGN_CODE, Specify an Address Alignment ................ 1-78
.ASCII .............................................................................. 1-80
.BYTE, Declare a Byte Data Variable or Buffer .................. 1-81
ASCII String Initialization Support ............................... 1-83
.COMPRESS, Start Compression ...................................... 1-85
.EXTERN, Refer to a Globally Available Symbol ............... 1-86
.EXTERN STRUCT, Refer to a Struct Defined Elsewhere . 1-87
.FILE, Override the Name of a Source File ........................ 1-89
.FILE_ATTR, Create an Attribute in the Object File ......... 1-90
.FORCECOMPRESS, Compress the Next Instruction ....... 1-90
剩余257页未读,继续阅读
ADI_OP
- 粉丝: 4381
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- zigbee-cluster-library-specification
- JSBSim Reference Manual
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0